That is only a simple java class.  I think you need to do some more research
on EJB technology.  I haven't use EJB at all for almost 2 years but I'll
give you my $.02 here (To experts, correct me if I am wrong about this).  

EJB need to deployed in a EJB container which tomcat is not and in order to
use EJB with tomcat you have to do something like the following:
1) Deploy your EJBs in the EJB container
2) Provide some interfaces of your EJBs to tomcat such that your app in
tomcat can use to contact the EJB container and call EJBs to work.

Hope this help.

cheers,
Michael

-----Original Message-----
From: Michael Ni [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 1:44 PM
To: [EMAIL PROTECTED]
Subject: RE: ejbs and sql server


http://128.91.107.144:8080/examples/jsp/index.html

in the tomcat examples there is an example date as shown in the url above.  
that date calls a class from web-apps/classes/date/JspCalendar.  they claim 
this is use of a jsp page making an instance of a ejb (java bean).  how come

they didn't have to set up additional software?  but everyone is saying you 
need to install additional software so that tomcat can use ejbs?

mike ni






>From: "Jeremy Whitlock" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Subject: RE: ejbs and sql server
>Date: Fri, 28 Feb 2003 13:23:04 -0700
>
>Or look at OpenEJB.  It's easy to setup.  http://openejb.sourceforge.net
>Later, J
>
>-----Original Message-----
>From: Filip Hanik [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 1:24 PM
>To: Tomcat Users List
>Subject: RE: ejbs and sql server
>
>nope, Tomcat is a servlet/jsp engine. Take a look at www.jboss.org
>
>Filip
>
>-----Original Message-----
>From: Michael Ni [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 12:21 PM
>To: [EMAIL PROTECTED]
>Subject: RE: ejbs and sql server
>
>
>im unclear how EJBs work with tomkat.  do we just put all the classfiles
>
>inside WEB-INF and they work?
>
>mike
>
>
>
>
>
>
> >From: "Tam, Michael" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: 'Tomcat Users List' <[EMAIL PROTECTED]>
> >Subject: RE: ejbs and sql server
> >Date: Fri, 28 Feb 2003 15:01:10 -0500
> >
> >Well, you should try search example online i.e. through google.  EJB is
>a
> >standard and should work with any DBMS (usually ;) ). Once you find an
> >example and it should work on your choice of DBMS.
> >
> >-----Original Message-----
> >From: Michael Ni [mailto:[EMAIL PROTECTED]
> >Sent: Friday, February 28, 2003 11:28 AM
> >To: [EMAIL PROTECTED]
> >Subject: ejbs and sql server
> >
> >
> >Hi does anyone have examples of EJBs that connect to SQL Server 2000?
>I
> >have different queries that i want to run but i want to make my
>connection
> >and queries in a EJB so i dont have to retype it in my JSP pages every
>time
> >i need it.  Also does anyone have examples of JSP pages calling EJBs?
> >
> >mike
> >
> >
> >
> >
> >
> >_________________________________________________________________
> >The new MSN 8: advanced junk mail protection and 2 months FREE*
> >http://join.msn.com/?page=features/junkmail
> >
> >
> >---------------------------------------------------------------------
> >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]
>
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>
>---------------------------------------------------------------------
>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]


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
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]

Reply via email to