Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
Old 07-09-06, 01:08 PM   #1 (permalink)
Unregistered
Unregistered
 
Posts: n/a
Can we execute EJB's in Tomcat

Can we execute EJB's in Tomcat, cause one of my friend (working) is saying that ,they r doing a project in Tomcat in which they r using EJB's.Is this possible.IF yes How?
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-06, 01:36 PM   #2 (permalink)
Junior Member
 
Join Date: Aug 2006
Posts: 24
Thanks: 0
Thanked 3 Times in 2 Posts
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 2 Hema.vulava is on a distinguished road
Re: Can we execute EJB's in Tomcat

No. We can't deploy ejb applications in Tomcat. It is a web server. it doesn't support ejb's.

But, in some projects we use both web logic and tomcat . We deploy the web applications in tomcat and ejb applications in weblogic.
I don't have clear idea on it.
Hema.vulava is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-06, 02:54 PM   #3 (permalink)
Unregistered
Unregistered
 
Posts: n/a
Cool Re: Can we execute EJB's in Tomcat

As per my knowledge, we can't deploy the Ejb's in Tomcat bcz it is webserver. If it is possible, please inform.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-09-06, 09:49 PM   #4 (permalink)
Junior Member
 
Join Date: Aug 2006
Posts: 24
Thanks: 0
Thanked 3 Times in 2 Posts
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 2 Hema.vulava is on a distinguished road
Re: Can we execute EJB's in Tomcat

Yes. you are right.
We can't deploy ejb's in tomcat as it is a web server.
Hema.vulava is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-09-06, 12:24 PM   #5 (permalink)
D.Guna
Unregistered
 
Posts: n/a
Thumbs up Re: Can we execute EJB's in Tomcat

I got that Tomcat is web server ,we cannot deploy Ejb's in that.Suppose if in some proj both weblogic and tomcat is using.ejb's in weblogic,webcontainer in tomcat.and they r following struts frame work.My que is how can they access
ejb's in action class's execute method(to get data from database).

wht r the mechanisms to do tht?

plzzzzzzzzzzz help meeeeeeeeeeeeeeeeeee
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-10-06, 11:52 AM   #6 (permalink)
Junior Member
 
Join Date: Aug 2006
Posts: 24
Thanks: 0
Thanked 3 Times in 2 Posts
Thanks: 0
Thanked 3 Times in 2 Posts
Rep Power: 2 Hema.vulava is on a distinguished road
Re: Can we execute EJB's in Tomcat

To run the web application that uses EJB running on weblogic server.

1) copy weblogic.jar under tomcat/shared/lib
2)copy the req. classes (Bussiness Deligate, RHI,RBI etc..)under WEB-INF/classes
3)copy jndi.properties under current directory.



Thanks & Regards,
Hema
Hema.vulava is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-07-08, 03:09 PM   #7 (permalink)
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 venkateshwr is on a distinguished road
Re: Can we execute EJB's in Tomcat

Should we make any changes to the context.xml in Tomcat to invoke the ejb's in Weblogic? If yes, could someone send me a sample config file. I am having trouble doing the config for the integration.

Thanks
Venkat
venkateshwr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Tomcat a web server or App Server? Unregistered JAVA Technologies 2 07-09-06 02:57 PM
KNOW SOMETHING ABOUT TOMCAT wizkid JAVA Technologies 0 01-08-06 02:31 PM
how to execute winner DATA STRUCTURES, C, C++, VC ++ 3 20-05-06 08:22 AM
tomcat webserver installation eswarig JAVA Technologies 7 15-05-06 12:01 PM
How to run servlets in Tomcat server? Madhuri JAVA Technologies 2 22-04-06 11:39 PM


All times are GMT +6.5. The time now is 08:42 AM.





Search Engine Optimization by vBSEO 3.1.0