Partha Sarathi Bhakat wrote:
> Hi,
> I have downloaded OpenEjb 8.0 final version from the site and have 
> experimented with the sample EJB that was present in the documentation.
> But I have few questions/doubts about this project.

Please make sure you're working with the latest release - OpenEJB 0.8.1 
(that's downloadable release from the site) or OpenEJB 0.8.2 (unofficial 
release, which you could build checking out the sources from CVS).

> 
> 1. Its written that openejb-8.0 is EJB1.1 complient. But i feel that i 
> did see some masseging stuff..... Does it also support EJB2.0?

OpenEJB supports EJB 1.1. I know nothing about EJB 2.0 in OpenEJB 0.8.x

> 
> 2. I didn'nt understand the Remote VM and Local VM stuff. For example if 
> I want my servlets to be run on Tomcat and my ejb's in openejb, does it 
> mean they are running in remote VM although they are installed in the 
> same machine. Does it mean that servlets must use the IP address etc to 
> look up the ejb.

It depends on your configuration.

If you run OpenEJB as a standalone server - OpenEJB Remote or CORBA 
server - you would need to specify the required properties to point your 
client (i.e. servlet, another EJB, VB app) to the server instance. The 
server runs in its own JVM hanling remote requests. That's where an IP 
address needs to be specified.

There's also another way to run OpenEJB - the Local Server (mode). In 
this configuration OpenEJB runs embedded within an application, being 
its integral part. Noone, but the application can access that OpenEJB 
instance. That's like using another class in a package - in this case, 
however, the package is named OpenEJB :-)

Read more at http://openejb.sourceforge.net/embedded.html and 
http://openejb.sourceforge.net/remote-server.html.
CORBA mode is not yet described fully. If you need the description, tell 
us and it'll be written (just for you :-)).

> 
> 3. I would like to understand the source code. What are the packages in 
> the project? which java file is the starting point for the project to 
> understand.

I'd suggest starting from the batch files (the very early starting point 
is openejb.bat) where you'd see how the modes are booted up.

Should you have any questions, don't hesitate to ask. I also come across 
the same questions, but since I have started two or three weeks earlier 
I already received some of the answers and thus may answer yours.

> 
> Regards,
> Partha.

-Jacek



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to