Hi Lev, If we talk about OpenEJB in terms of JVM instances it'd boil down to:
* OpenEJB IntraVM = 1 JVM * OpenEJB Remote Server = 2+ JVMs * OpenEJB CORBA Server = 2+ JVMs That said, IntraVM runs in the same JVM as the class using it - regardless of what exactly the class is. The class would perhaps be a servlet container - Tomcat or any Java class. In such a mode, OpenEJB is just a bunch of classes that you'd use as you do java.lang.String or so. However, if you really want to run 2 or more JVM instances than you probably want OpenEJB Remote or even CORBA server. In this configuration OpenEJB listens to remote *external from the JVM it runs within* client's requests. The client would perhaps be a servlet or a JSP or a JFC/Swing GUI client. Please ask questions if you're still not convinced with the answer. At the end, we'll put it in the documentation. -Jacek Lev Assinovsky wrote: > Sorry, I have to rephrase the question: > How to run two Main() in the same VM? One from OpenEJB and another one > from Tomcat? > Another word what should be in place of CLASS in > java <options ...> CLASS? > > Thanks and sorry for my stupid question. > Jacek Laskowski wrote: > >> Hi Lev, >> >> What would you like to know other than is described at >> http://openejb.sourceforge.net/tomcat-adapter.html. How would you like >> to see it improved/enhanced ? We're listening... >> >> -Jacek >> >> Lev Assinovsky wrote: >> > >FROM: David Blevins >> > >DATE: 08/07/2002 16:20:16 >> > >SUBJECT: RE: [OpenEJB-user] TOMCAT + OpenEJB >> > >... >> > >We've known of people using OpenEJB + Tomcat >> > >in the same VM, but haven't heard from anyone using them on separate >> > >machines through the new Remote Server. >> > >> > >Thanks, >> > >David >> > >> > I have found the post above in the mailing archive. >> > David said: We've known of people using OpenEJB + Tomcat in the same >> VM. >> > Could the people share their knowledges about using OpenEJB&Tomcat in >> > the same VM ? >> > Thanks in advance! >> > >> > -- >> > Lev Assinovsky Peterlink Web >> > Programmer St. Petersburg, Russia >> > Tel/Fax: +7 812 9418104 197022 ul.Chapigina 7Á >> > E-mail: [EMAIL PROTECTED] >> > >> > >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: OSDN - Tired of that same old >> cell phone? Get a new here for FREE! >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >> <https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390> >> _______________________________________________ >> http://OpenEJB.sf.net >> OpenEJB-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/openejb-user >> > -- > Lev Assinovsky Peterlink Web > Programmer St. Petersburg, Russia > Tel/Fax: +7 812 9418104 197022 ul.Chapigina 7Á > E-mail: [EMAIL PROTECTED] > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ http://OpenEJB.sf.net OpenEJB-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openejb-user