Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Cookbook: EJB Server used and Applet as client on IE ?  RSS feed

 
viswanath sastry
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam new to EJB world, though i have some experience with Java Web Components and i have a couple of questions for you..
Which EJB server (like weblogic, websphere, orion) have you used for your examples and was there any specific reason for choosing that server?
When I use Microsoft Internet Explorer and Applet as a client, will i be able to call EJB Interfaces, because i have read some time back that IE lacks java.rmi package (though i cannot understand why IE should need that package, because it is your code that needs that package).

and yes, please include me as a participant in this week's give aways .
thanks,
[ August 05, 2003: Message edited by: viswanath sastry ]
 
Mark Whipple
Author
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We used the Weblogic server for our examples. You should be able to use any container that you like. Some of the deployment descriptors will be a bit different, but they are noted in the sample code. The standard deployment descriptors will be the same.
I would recommend working with the JBoss container. It should not require any custom descriptors for the examples.
Depending on the container you choose, you need to include the client connectivity libraries in the applet jar. The client jar files may be RMI underneath, but typically, they define their own protocols for use. For example, the Webogic defines the t3 protocol, while the JBoss container defines jnp as the protocol.
Hope this helps,
Mark
 
viswanath sastry
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Mark
Iam happy that your book covers XDoclet, iam planning to integrate xdoclet into my application server. Does your book also give this integration procedure? i am a student and so i want to do all code my self without any code generation tool, but still i want to use it at some point of time just to get used to it.
and i also heard from someone that all entity beans have to be container managed in future.is this true? though container managed has its own advantages, wont we lose the control that we have with bean managed and what about complex joins, will container manage complex joins by itself.
thanks,
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and i also heard from someone that all entity beans have to be container managed in future.is this true? though container managed has its own advantages, wont we lose the control that we have with bean managed and what about complex joins, will container manage complex joins by itself.

It is possible that BMP is dropped from the EJB specification, though I wouldn't expect that to happen instantly. Anyway, if the application needs complex joins, you can always write that part of the data access code using straight JDBC.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!