Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

TWO TOMCATS

Thread view: 
zamba - 19 Mar 2008 22:56 GMT
HI I WANT TO KNOW IF IS POSIBLE FROM ONE JAVA CLASS THAT IS RUNNING
UNDER TOMCAT STARTED ON 64 BITS MAKE A CALL TO ANOTHER CLASS THAT MUST
RUN UNDER ANOTHER TOMCAT STARTED UNDER 32 BITS...AND IF IS
POSIBLE...HOW.....REALLY THANKS !!!!!
Arne Vajhøj - 19 Mar 2008 23:40 GMT
> HI I WANT TO KNOW IF IS POSIBLE FROM ONE JAVA CLASS THAT IS RUNNING
> UNDER TOMCAT STARTED ON 64 BITS MAKE A CALL TO ANOTHER CLASS THAT MUST
> RUN UNDER ANOTHER TOMCAT STARTED UNDER 32 BITS...AND IF IS
> POSIBLE...HOW.....

No. Only classes running in the same JVM can call each other.

Arne
Lew - 20 Mar 2008 01:58 GMT
zamba wrote:
>> HI I WANT TO KNOW IF IS POSIBLE FROM ONE JAVA CLASS THAT IS RUNNING
>> UNDER TOMCAT STARTED ON 64 BITS MAKE A CALL TO ANOTHER CLASS THAT MUST
>> RUN UNDER ANOTHER TOMCAT STARTED UNDER 32 BITS...AND IF IS
>> POSIBLE...HOW.....

(Please stop shouting.)

There is no way that a Java class is required to run under a 32 bit JVM,
barring JNI interactions.

As for invoking classes in another Tomcat, you can use web service calls or
web application interactions to invoke operations in a different application
container.  As Arne said, you cannot invoke classes directly one Tomcat from
another, but there are plenty of remote invocation protocols available to work
around that.  I recommend SOAP-based Web services.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.