• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating 500 JSPs and 100 servlets on Sun J2EE 1.4 server

 
Sherry Jacob
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,
I don't know if this is the correct place to post this topic. However, any help would be appreciated.


I am using the Sun RI J2EE 1.4 server and I have developed a small application following the MVC architecture.

I simply create an EAR and add a WAR to it. My WAR consists of an HTML page, 2 JSPs and a single servlet.

The application is deployed and running successfully.

But my problem is that in case I have to make some changes in code in any of the components, I have to everytime undeploy the application, and then delete the WAR completely and redo the whole process of adding the WAR to the EAR because the modified pages are not getting displayed. Simply modifying the code and then clicking on Update Files in the EAR does not seem work.

I am following the SUN's tutorial for J2EE 1.4 for the entire process.

I want to know if this is the only valid procedure to modify an application or is there something I'm missing out ?

What if I have 100 servlets and 500 JSPs ? I'll go nuts readding all the components !!

Could anyone please help ?
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, aside from the fact that this is the wrong forum for the question...

If I might suggest, since you're just using servlets and JSPs, you might move to a more 'production-ready' server rather than the RI. Tomcat, for instance, is also free and is fairly easy to use.

Not having used the RI myself for a good long time, save for the short while when I was studying for the SCWCD, I don't know how it picks up updates. :-\ I know that Tomcat will notice changes to JSPs if you drop altered files into the appropriate directories, but Servlets will require a redeploy (which can either be done by the manual means you're doing, or through a management console).

I know it's not much help, but I hope it's at least a start to an answer for your question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic