Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Application Server Independent Development  RSS feed

 
Sri Kor
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to develop a J2EE project which is independed of the application servers. Is it possible with JSP1.1, Servlets 2.2 and EJB1.1 or do I have to use JSP1.2, Servlets 2.3 etc.
I will be glad if anyone can refer me to any URL.
Thanks,
Srikanth
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you stick strictly with the J2EE Specification then it is possible to create a truely Application Server independent J2EE Application. That is with the exception of the deployment descriptors of course. It doesn't matter how you slice it, you will need to have separate vendor descriptors for each Application Server that you wish to deploy to for your ejbs.
If you go with plain JSP and Servlets then it will be a lot easier to achieve Application Server independence. You could actually create a war that could be picked up and deployed on multiple Application Servers without change. Of course in that case you would not need a full blown Application Server anyways... which may be another benefit.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!