You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Peter Goode <pe...@mrexcessive.net> on 2002/04/19 14:34:04 UTC

EJB howto ?

Hi,
I've got Turbine (TDK) happily serving JSPs and running a wiki.

Can anyone please point me at something which describes how to deploy an
EJB.

I'm trying to work through the example on
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialPreface.html
and have installed j2sdkee1.3.1 amongst other things.

However I get class not found importing DDCreator with
java org.apache.tools.ant.taskdefs.optional.ejb.DDCreator -dir
DeploymentDescriptor.txt

Which appears to be the right class name !?


Do I need to download something apart from the TDK to get EJB to deploy
?

Help and advice, or pointer to the right FAQ/HOWTO appreciated (none of
them mention EJB AFAIK)


Thank you


Peter


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: EJB howto ?

Posted by Peter Goode <pe...@mrexcessive.net>.
OK. I've setup build.xml as per Xdoclet docs :
Get error :
    Buildfile: build.xml
    properties:                    ( this is 'prepare' )
    ejbdoclet:
    BUILD FAILED
    /home/peterg/software/tdk/build.xml:346: Reference peter not found.


Well I've just put classpathref="peter" for something to put... how do I decide what
to put here ? not mentioned in docs... although there
is some reference in ant docs, they do seem to presume I'll know what goes there...


Any clues ?


Peter

Peter Goode wrote:

> Konstantin,
>
> Right thank you.
>
> Yes I already fetched JBoss and was wanting to run that inside Turbine (! am I
> getting tied in knots here!)
> And it is running I think...
>     lots of :
>     18535 ?        S      0:00 java -server
> -Djavax.xml.parsers.DocumentBuilderFacto
>     18536 ?        S      0:00 java -server
> -Djavax.xml.parsers.DocumentBuilderFacto
>     in ps -ax
>
> I'll get xdoclet from sourceforge and try, URL is
> http://www.sourceforge.net/projects/xdoclet
>
> I'll let you know how it goes:-)
>
> Thanks again
>
> Peter
>
> Konstantin Priblouda wrote:
>
> > > Can anyone please point me at something which
> > > describes how to deploy an
> > > EJB.
> >
> > It depends, where you like to deploy your EJB. Tomcat
> > is definitely false place for it.
> >
> > > I'm trying to work through the example on
> > >
> > http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialPreface.html
> > > and have installed j2sdkee1.3.1 amongst other
> > > things.
> >
> > Forget about sun example. It's a piece of shit with
> > funny GUI deploytool.
> >
> > Get jboss ( app server, has tomcat bundled ),
> > get xdoclet, and read through the docs
> >
> > Jboss can be found at:
> > http://www.sourceforge.net/projects/jboss
> > Xdoclet:
> > http://www.sourceforge.net/projects/jboss
> >
> > Jboss will run your EJB ( and turbine inside tomcat ),
> > and xdoclet will assist you in task of creating
> > all necessary descriptors & interfaces.
> >
> > There are also examples in xdcoclet.
> >
> > regards,
> > [co-developer of xdoclet]
> >
> > =====
> > Konstantin Priblouda ( ko5tik )    Freelance Software developer
> > < http://www.pribluda.de > < play java games -> http://www.yook.de >
> > < render charts online -> http://www.pribluda.de/povray/ >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Tax Center - online filing with TurboTax
> > http://taxes.yahoo.com/
> >
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: EJB howto ?

Posted by Peter Goode <pe...@mrexcessive.net>.
Fab... I can't get past ant/build bugs at present... see prev. email,
Probably down to my not knowing J2EE platform at all.. .but the docs do seem a bit
thin on explanation.

Specific question, what should I set classpathref="" to in ejbdoclet XML,
and perhaps more usefully - long term anyway - why!?


P

Konstantin Priblouda wrote:

> --- Peter Goode <pe...@mrexcessive.net> wrote:
> > Konstantin,
> >
> > Right thank you.
> >
> > Yes I already fetched JBoss and was wanting to run
> > that inside Turbine (! am I
> > getting tied in knots here!)
> > And it is running I think...
>
> JBoss runs out of the box on most systems where you
> can fire up java :) So it's not a problem.
>
> > I'll get xdoclet from sourceforge and try, URL is
> > http://www.sourceforge.net/projects/xdoclet
> >
> >
> > I'll let you know how it goes:-)
>
> It goes very well. We develop a big project with about
> 50 different EJB's. We would be unable to do this
> without.
>
> regards,
>
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: EJB howto ?

Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Peter Goode <pe...@mrexcessive.net> wrote:
> Konstantin,
> 
> Right thank you.
> 
> Yes I already fetched JBoss and was wanting to run
> that inside Turbine (! am I
> getting tied in knots here!)
> And it is running I think...

JBoss runs out of the box on most systems where you
can fire up java :) So it's not a problem.

> I'll get xdoclet from sourceforge and try, URL is
> http://www.sourceforge.net/projects/xdoclet
> 
> 
> I'll let you know how it goes:-)

It goes very well. We develop a big project with about
50 different EJB's. We would be unable to do this
without.

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: EJB howto ?

Posted by Peter Goode <pe...@mrexcessive.net>.
Konstantin,

Right thank you.

Yes I already fetched JBoss and was wanting to run that inside Turbine (! am I
getting tied in knots here!)
And it is running I think...
    lots of :
    18535 ?        S      0:00 java -server
-Djavax.xml.parsers.DocumentBuilderFacto
    18536 ?        S      0:00 java -server
-Djavax.xml.parsers.DocumentBuilderFacto
    in ps -ax


I'll get xdoclet from sourceforge and try, URL is
http://www.sourceforge.net/projects/xdoclet


I'll let you know how it goes:-)

Thanks again

Peter



Konstantin Priblouda wrote:

> > Can anyone please point me at something which
> > describes how to deploy an
> > EJB.
>
> It depends, where you like to deploy your EJB. Tomcat
> is definitely false place for it.
>
> > I'm trying to work through the example on
> >
> http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialPreface.html
> > and have installed j2sdkee1.3.1 amongst other
> > things.
>
> Forget about sun example. It's a piece of shit with
> funny GUI deploytool.
>
> Get jboss ( app server, has tomcat bundled ),
> get xdoclet, and read through the docs
>
> Jboss can be found at:
> http://www.sourceforge.net/projects/jboss
> Xdoclet:
> http://www.sourceforge.net/projects/jboss
>
> Jboss will run your EJB ( and turbine inside tomcat ),
> and xdoclet will assist you in task of creating
> all necessary descriptors & interfaces.
>
> There are also examples in xdcoclet.
>
> regards,
> [co-developer of xdoclet]
>
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: EJB howto ?

Posted by Konstantin Priblouda <kp...@yahoo.com>.
> Can anyone please point me at something which
> describes how to deploy an
> EJB.

It depends, where you like to deploy your EJB. Tomcat
is definitely false place for it. 

> I'm trying to work through the example on
>
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/J2eeTutorialPreface.html
> and have installed j2sdkee1.3.1 amongst other
> things.

Forget about sun example. It's a piece of shit with
funny GUI deploytool. 

Get jboss ( app server, has tomcat bundled ),
get xdoclet, and read through the docs

Jboss can be found at:
http://www.sourceforge.net/projects/jboss
Xdoclet:
http://www.sourceforge.net/projects/jboss

Jboss will run your EJB ( and turbine inside tomcat ),
and xdoclet will assist you in task of creating
all necessary descriptors & interfaces. 

There are also examples in xdcoclet. 

regards,
[co-developer of xdoclet]

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>