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

JEE 5, EJB 2.1, Servlet 2.5 combination  RSS feed

 
David Howie
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me if JEE 5, EJB 2.1, and Servlet 2.5 are a valid combination? I have searched all over the Internet and cannot find anything that I feel clearly indicates that this combination is valid or not valid.

I am using RAD 7.5, which allows me to create an application with the above combination. Actually, it is an existing WAS 6 application that is migrating to WAS 7, and in the course of migrating it, the above combination is what I chose to leverage JSF 1.2 (requires Servlet 2.5), yet avoid rewriting my EJBs as EJB3.

The problem I am encountering is that when I build the application EAR for deployment to our QA environment, I'm expecting the WebSphere default bindings ANT task to change the EJB binding name in the WAR modules binding file, as happens when I build the WAS 6 version of the application which is JEE 1.4, EJB 2.0, and Servlet 2.3) However, with the JEE 5, EJB 2.1, and Servlet 2.5 combination the binding name is not being changed at build time as expected.

Again, just looking to know if someone can concretely say whether or not JEE 5, EJB 2.1, and Servlet 2.5 are considered a valid combination.

Thanks
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Howie wrote:Can anyone tell me if JEE 5, EJB 2.1, and Servlet 2.5 are a valid combination? I have searched all over the Internet and cannot find anything that I feel clearly indicates that this combination is valid or not valid.


It's a valid combination. The Java EE5 spec (section EE.6.x "Application Programming Interface") has the details.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Howie wrote:
The problem I am encountering is that when I build the application EAR for deployment to our QA environment, I'm expecting the WebSphere default bindings ANT task to change the EJB binding name in the WAR modules binding file, as happens when I build the WAS 6 version of the application which is JEE 1.4, EJB 2.0, and Servlet 2.3) However, with the JEE 5, EJB 2.1, and Servlet 2.5 combination the binding name is not being changed at build time as expected.



I haven't used WebSphere for a long time now. So I don't know what the issue might be. Someone with some WebSphere knowledge might be able to help.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!