Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet code sharing  RSS feed

 
ralph roper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
my company has had a web application developed by an external company. They have now asked me to do a similar project. There are some classes in the existing project that could be used in the project I am about to start work on. Does anyone know from experience if it is a good idea to separate these common classes into their own jar file? Or am I better copying these files into my own webapps directory? These common classes do things like logon, page layout, file handling. I cannot think of any issues in creating a common jar file and would assist in reuse.
thanks,
Ralph
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go for it. Create a common jar file and then change the deployment of the original system to use the common Jar file.
Kyle
 
ralph roper
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kyle,
thanks. Being a developer cutting their first Java project I needed the reassurance.
Ralph
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!