Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3 in Action - Which app server ?

 
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!
 
You can't expect to wield supreme executive power just because
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!