This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 in Action - Which app server ?  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Which App server is used for the sample code ? Thanks.
 
Debu Panda
author
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code samples are now downloadable for Sun Java EE 5 RI Server (based on Glassfish) and OracleAS. We are porting to code samples to JBoss and BEA Weblogic 10 Preview as soon we are done!
 
Glenn Murray
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I found this to be somewhat curious. If it's a standard, then
why do you need to port the code? Shouldn't it work in any
standards compliant container?

Cheers,
Glenn
 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Glenn Murray:
Hi,

I found this to be somewhat curious. If it's a standard, then
why do you need to port the code? Shouldn't it work in any
standards compliant container?

Cheers,
Glenn


Nope. JBoss and WebLogic have their own JEE 5 implementation. unless the samples are just a bunch of simple code.

my question then what application do you build and scenario do you assume in your book?

thanks
 
Debu Panda
author
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are couple of reasons that need porting, the code will port as is:

1. The build scripts need porting because every App Server lays out their own libraries

2. The scripts include ANT tasks to configure resources such as DataSource, JMS resource. Each app server handle in their own way.

3. For example, JBoss (not fully Java EE 5 compliant) does not support dependency injection in the client container or in the web container as yet so we need to change those to JNDI lookup code.

and many more issues we find when we try out in preview containers!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!