• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

EJB3 in Action - Which app server ?

 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Which App server is used for the sample code ? Thanks.
 
author
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic