EJB in tomcat

2004-11-29 Thread birendar . waldiya

Can EJB's be  deployed in tomcat ??


Birendar Singh Waldiya


DISCLAIMER: The information contained in this message is intended only and 
solely for the addressed individual or entity indicated in this message and for 
the exclusive use of the said addressed individual or entity indicated in this 
message (or responsible for delivery of the message to such person) and may 
contain legally privileged and confidential information belonging to Tata 
Consultancy Services Limited. It must not be printed, read, copied, disclosed, 
forwarded, distributed or used (in whatsoever manner) by any person other than 
the addressee. Unauthorized use, disclosure or copying is strictly prohibited 
and may constitute unlawful act and can possibly attract legal action, civil 
and/or criminal. The contents of this message need not necessarily reflect or 
endorse the views of Tata Consultancy Services limited on any subject matter.
  Any action taken or omitted to be taken based on this message is entirely at 
your risk and neither the originator of this message nor Tata Consultancy 
Services Limited takes any responsibility or liability towards the same. 
Opinions, conclusions and any other information contained in this message that 
do not relate to the official business of Tata Consultancy Services limited 
shall be understood as neither given nor endorsed by Tata Consultancy Services 
Limited or any affiliate of Tata Consultancy Services Limited. If you have 
received this message in error,  you should destroy this message and may please 
notify the sender by e-mail. 
 Thank you.

Re: EJB in tomcat

2004-11-29 Thread Peter Mengell
RTFM

On Monday 29 November 2004 09:30, [EMAIL PROTECTED] wrote:
 Can EJB's be  deployed in tomcat ??


 Birendar Singh Waldiya


 DISCLAIMER: The information contained in this message is intended only and
 solely for the addressed individual or entity indicated in this message and
 for the exclusive use of the said addressed individual or entity indicated
 in this message (or responsible for delivery of the message to such person)
 and may contain legally privileged and confidential information belonging
 to Tata Consultancy Services Limited. It must not be printed, read, copied,
 disclosed, forwarded, distributed or used (in whatsoever manner) by any
 person other than the addressee. Unauthorized use, disclosure or copying is
 strictly prohibited and may constitute unlawful act and can possibly
 attract legal action, civil and/or criminal. The contents of this message
 need not necessarily reflect or endorse the views of Tata Consultancy
 Services limited on any subject matter. Any action taken or omitted to be
 taken based on this message is entirely at your risk and neither the
 originator of this message nor Tata Consultancy Services Limited takes any
 responsibility or liability towards the same. Opinions, conclusions and any
 other information contained in this message that do not relate to the
 official business of Tata Consultancy Services limited shall be understood
 as neither given nor endorsed by Tata Consultancy Services Limited or any
 affiliate of Tata Consultancy Services Limited. If you have received this
 message in error,  you should destroy this message and may please notify
 the sender by e-mail. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EJB in tomcat

2004-11-29 Thread Mark Thomas
 Can EJB's be  deployed in tomcat ??

No. 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EJB in tomcat

2004-11-29 Thread Phillip Qin
EJB needs EJB container. Tomcat is a servlet/jsp container. However, you can
find enterprice beans through naming lookup.

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: November 29, 2004 2:55 PM
To: 'Tomcat Users List'
Subject: RE: EJB in tomcat 


 Can EJB's be  deployed in tomcat ??

No. 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41ab7ede154252114736115!


RES: how to deploy ejb in tomcat

2004-01-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Even praying, its impossible.Unless a miracle happens..Try to use JBoss, it
works fine with tomcat.. 

Jose Euclides Junior
Projeto DOP201
Infra-estrutura J2EE para as aplicacoes corporativas da Previdencia Social


-Mensagem original-
De: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 5 de janeiro de 2004 18:44
Para: Tomcat Users List
Assunto: RE: how to deploy ejb in tomcat



Howdy,
With a lot of praying, perhaps.  Tomcat is not an EJB container, and
this is in the FAQ.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: bala magesh [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 10:35 AM
To: [EMAIL PROTECTED]
Subject: how to deploy ejb in tomcat

hai to all
i expect from any one how to deploy a ejb in tomcat
plz reply soon
bala

_
Gujarat Kite Fest at http://go.msnserver.com/IN/40247.asp
www.gujaratkitefest.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to deploy ejb in tomcat

2004-01-06 Thread Mike Coughlan
I made the same mistake. 

This matrix will help to clarify the issue.

http://www.theserverside.com/reviews/matrix.jsp

The funny thing is that Sun now bundles the J2EE SDK
with the Netbeans IDE. 

The Netbeans IDE in turn comes with Tomcat bundled
inside for easy local development.

And yet Tomcat still is not a J2EE server.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to deploy ejb in tomcat

2004-01-06 Thread alan sparago
I haven't used it and don't know much about it but you might be able to use
Tomcat with OpenEJB.
http://openejb.sourceforge.net/tomcat.html



-Original Message-
From: Mike Coughlan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 06, 2004 1:35 PM
To: Tomcat Users List
Subject: Re: how to deploy ejb in tomcat

I made the same mistake. 

This matrix will help to clarify the issue.

http://www.theserverside.com/reviews/matrix.jsp

The funny thing is that Sun now bundles the J2EE SDK
with the Netbeans IDE. 

The Netbeans IDE in turn comes with Tomcat bundled
inside for easy local development.

And yet Tomcat still is not a J2EE server.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to deploy ejb in tomcat

2004-01-05 Thread bala magesh
hai to all
i expect from any one how to deploy a ejb in tomcat
plz reply soon
bala
_
Gujarat Kite Fest at http://go.msnserver.com/IN/40247.asp 
www.gujaratkitefest.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to deploy ejb in tomcat

2004-01-05 Thread Carlos Cajina - Hotmail
Hi...

You'll probably get lots of answers, but here's a very short one ;-)

Tomcat IS NOT a container for EJB's... you might want to take a look
at JBoss (www.jboss.org)...

Regards,

Carlos

To define recursion, we must first define recursion.
- Original Message - 
From: bala magesh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 05, 2004 9:35 AM
Subject: how to deploy ejb in tomcat


 hai to all
 i expect from any one how to deploy a ejb in tomcat
 plz reply soon
 bala

 _
 Gujarat Kite Fest at http://go.msnserver.com/IN/40247.asp
 www.gujaratkitefest.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How deploy EJB on Tomcat?

2003-09-15 Thread Goehring, Chuck Mr., RCI - San Diego

Igor,

Tomcat has no EJB Container as they call it.  I'd use JBoss (www.jboss.org) if I had 
EJB work to do.  Otherwise, one of the commercial products would be needed.

Chuck


-Original Message-
From: Igor Grygorov [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 10:41 PM
To: [EMAIL PROTECTED]
Subject: How deploy EJB on Tomcat?


Does the Tomcat-IIS support deploing Enterprise Java
Beans?
Can you send me information or links about it, please?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How deploy EJB on Tomcat?

2003-09-14 Thread jerome moliere
Igor Grygorov wrote:
Hi Igor
Does the Tomcat-IIS support deploing Enterprise Java
Beans?
No, sorry

Can you send me information or links about it, please?

 

No :)
have a look to any EJb container : JONAS or JBOSS could be reasonable 
choices

My 2 pieces
jerome


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How deploy EJB on Tomcat?

2003-09-13 Thread Igor Grygorov
Does the Tomcat-IIS support deploing Enterprise Java
Beans?
Can you send me information or links about it, please?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: EJB in tomcat

2003-09-09 Thread Jeremy Whitlock
Anson,
The one I've used for over a year and a half is OpenEJB.  It's
an EJB container and is 100% pluggable into Tomcat.  Here is the url:

http://openejb.sourceforge.net

If you need any help, let me know.  Thanks, Jeremy

-Original Message-
From: zeallousbigpond.net.au [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2003 6:17 PM
To: [EMAIL PROTECTED]
Subject: EJB in tomcat

hi,

 I would like to ask, can Tomcat work with Enterprise 
Javabeans? 'cause I read from the Java site...it says that we need a 
BEA server? Is it necessary? Or tomcat it self already has those 
libraries.

Anson
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EJB in tomcat

2003-09-08 Thread zeallousbigpond.net.au
hi,

 I would like to ask, can Tomcat work with Enterprise 
Javabeans? 'cause I read from the Java site...it says that we need a 
BEA server? Is it necessary? Or tomcat it self already has those 
libraries.

Anson
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EJB in tomcat

2003-09-08 Thread Filip Hanik
there are plenty of open source EJB containers, Tomcat is not one of them.

www.jboss.org has been a popular choice

Filip

- Original Message - 
From: zeallousbigpond.net.au [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 08, 2003 5:17 PM
Subject: EJB in tomcat


hi,

 I would like to ask, can Tomcat work with Enterprise 
Javabeans? 'cause I read from the Java site...it says that we need a 
BEA server? Is it necessary? Or tomcat it self already has those 
libraries.

Anson
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: EJB in tomcat

2003-09-08 Thread Marco Tedone
Well, Tomcat needs to 'colloquiate' with an application server (where EJBs
are deployed). The answer is yes, it's possible; all your application needs
to do is to establish a context with an application server and then it can
use the component deployed on application server generally using a lookup.

Here follow a snippet from a code:

InitialContext context = null;
//getJbossContext() sets up the correct property file and returns a context
initialized to that property file
context = getJbossContext();
Object node = context.lookup(sessionName);
PeopleDbManagerHome home =
(PeopleDbManagerHome)PortableRemoteObject.narrow(node,
PeopleDbManagerHome.class);
bean = home.create();
} catch (RemoteException e) {
printRemoteExceptionMessage();
return null;
}
Hope it will help,

Marco

- Original Message - 
From: zeallousbigpond.net.au [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 1:17 AM
Subject: EJB in tomcat


 hi,

  I would like to ask, can Tomcat work with Enterprise
 Javabeans? 'cause I read from the Java site...it says that we need a
 BEA server? Is it necessary? Or tomcat it self already has those
 libraries.

 Anson



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



invocing EJB from Tomcat

2003-08-07 Thread Juraj . Lenharcik
Hi,

does anyone knows, whats needed to invoce EJB from tomcat? Specially where to put the 
libraries for the contextfactory (under jboss jnp-client.jar).


thanks,
Juraj

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EJB from Tomcat

2003-02-13 Thread David Blevins
All,

I wrote some time ago about the Tomcat/OpenEJB integration, which allows
Tomcat users to start using EJBs from Tomcat without having to ditch
your Tomcat installation and configuration.  Just like Tomcat is
typically plugged into other app servers, OpenEJB is a plug-in for
Tomcat.  Plugging it in isn't any harder than setting up a JDBC driver.

Here is the article:
http://www.onjava.com/pub/a/onjava/2003/02/12/ejb_tomcat.html

Regards,
David Blevins


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: EJB from Tomcat

2003-02-13 Thread Andy Richards
Is this easier than using the jboss tomcat bundle?

i will read the article when i get a chance

andy

On Thu, 2003-02-13 at 14:54, David Blevins wrote:
 All,
 
 I wrote some time ago about the Tomcat/OpenEJB integration, which allows
 Tomcat users to start using EJBs from Tomcat without having to ditch
 your Tomcat installation and configuration.  Just like Tomcat is
 typically plugged into other app servers, OpenEJB is a plug-in for
 Tomcat.  Plugging it in isn't any harder than setting up a JDBC driver.
 
 Here is the article:
 http://www.onjava.com/pub/a/onjava/2003/02/12/ejb_tomcat.html
 
 Regards,
 David Blevins
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: EJB from Tomcat

2003-02-13 Thread David Blevins
Having never used the jboss tomcat bundle, I wouldn't be able to say. It
is very different though.

One thing different about this integration is that it isn't a bundle,
it's the ability to add EJB functionality into any Tomcat version you
want via a plug-in.  Which means you don't have to convince anyone to
switch platforms, etc.  You can just plug in OpenEJB and try it out for
a while, if you don't like it, just unplug it.  No harm done.

-David

 -Original Message-
 From: Andy Richards [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 9:05 AM
 To: Tomcat Users List
 Subject: Re: EJB from Tomcat
 
 
 Is this easier than using the jboss tomcat bundle?
 
 i will read the article when i get a chance
 
 andy
 
 On Thu, 2003-02-13 at 14:54, David Blevins wrote:
  All,
  
  I wrote some time ago about the Tomcat/OpenEJB integration, which 
  allows Tomcat users to start using EJBs from Tomcat without
 having to
  ditch your Tomcat installation and configuration.  Just
 like Tomcat is
  typically plugged into other app servers, OpenEJB is a plug-in for 
  Tomcat.  Plugging it in isn't any harder than setting up a JDBC 
  driver.
  
  Here is the article: 
  http://www.onjava.com/pub/a/onjava/2003/02/12/ejb_tomcat.html
  
  Regards,
  David Blevins
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: EJB from Tomcat

2003-02-13 Thread Will Hartung
 From: David Blevins [EMAIL PROTECTED]
 Sent: Thursday, February 13, 2003 6:54 AM
 Subject: EJB from Tomcat


 All,

 I wrote some time ago about the Tomcat/OpenEJB integration, which allows
 Tomcat users to start using EJBs from Tomcat without having to ditch
 your Tomcat installation and configuration.  Just like Tomcat is
 typically plugged into other app servers, OpenEJB is a plug-in for
 Tomcat.  Plugging it in isn't any harder than setting up a JDBC driver.

This was confusing, but I see now.

I was confused because we use Tomcat everyday to talk to our EJB server.

THIS is simply Yet Another EJB server, not some magic interface to connect
Tomcat to an arbitrary EJB server.

The connectivity from Tomcat to the EJB side is pretty straightforward,
portable and should work if/when we try to connect to another app server.
(Plus we've refactored everything so we should only have to change one file
to handle any of the glue details).

But, thanx for the article anyways!

Regards,

Will Hartung
([EMAIL PROTECTED])




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: EJB from Tomcat

2003-02-13 Thread David Blevins
Right, this is an EJB container that is usable in Tomcat.  The
particularly neat thing is that the EJB container can run embedded
*inside* the same VM as Tomcat.  You can even configure OpenEJB to not
marshal calls to EJBs, basically treating your remote interfaces as EJB
2.0 Local interfaces.

In the end you get a single server that can run both servlets/jsp/ejb
together in the same VM with local optimizations.

-David

 -Original Message-
 From: Will Hartung [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, February 13, 2003 11:33 AM
 To: Tomcat Users List
 Subject: Re: EJB from Tomcat
 
 
  From: David Blevins [EMAIL PROTECTED]
  Sent: Thursday, February 13, 2003 6:54 AM
  Subject: EJB from Tomcat
 
 
  All,
 
  I wrote some time ago about the Tomcat/OpenEJB integration, which 
  allows Tomcat users to start using EJBs from Tomcat without 
 having to 
  ditch your Tomcat installation and configuration.  Just 
 like Tomcat is 
  typically plugged into other app servers, OpenEJB is a plug-in for 
  Tomcat.  Plugging it in isn't any harder than setting up a JDBC 
  driver.
 
 This was confusing, but I see now.
 
 I was confused because we use Tomcat everyday to talk to our 
 EJB server.
 
 THIS is simply Yet Another EJB server, not some magic 
 interface to connect Tomcat to an arbitrary EJB server.
 
 The connectivity from Tomcat to the EJB side is pretty 
 straightforward, portable and should work if/when we try to 
 connect to another app server. (Plus we've refactored 
 everything so we should only have to change one file to 
 handle any of the glue details).
 
 But, thanx for the article anyways!
 
 Regards,
 
 Will Hartung
 ([EMAIL PROTECTED])
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: pulling my hair out re: EJB in tomcat

2001-10-01 Thread mlamb


On Fri, 28 Sep 2001 [EMAIL PROTECTED] wrote:

 Now I just keep getting the java.lang.ClassCastException:
 javax.naming.NameClassPair on the sample's line:

   Object ref  = jndiContext.lookup(interest/Interest);

are you actually getting the classcast there?  or on a subsequent line
where its something like

  InterestHome iHome = (InterestHome) ref;

?  Does doing a

  InterestHome iHome = (InterestHome) PortableRemoteObject.narrow(
  jndiContext.lookup(interest/Interest),
  InterestHome.class);


Unfortunately, it's definitely happening during the lookup.  If the lookup
were to succeed, it would continue t0:
 InterestHome home = (InterestHome)
PortableRemoteObject.narrow(ref, InterestHome.class);
But it's not getting there.

- Marty