Uwe, I have been experimenting with an Open Source project called ejbdoclet
you can find it at SourceForge.  It does what you want - generate the EJB's
for a project.  You have to make a skeleton class that contains special tags
used by the ejbdoclet program then you use Ant to build the remote
interface, home interface and bean classes.  It's about as close to
autogeneration as I think is possible with EJB's.  EJB's tend to do more
than just execute SQL so I think autogeneration of "Peer-like" EJB's will
have limited value. (A developer will probably need a more customized bean
to be usefull)

--john

> -----Original Message-----
> From: Uwe Pleyer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 4:50 AM
> To: turbine
> Subject: Turbine-Torque + JBoss
>
>
> Hallo folks,
>
> I'am very impressed on the Torque part of Turbine. The ease of use of
> the generated Peer Classes and the resulting clean Design on Objects
> insteed of an summary of JDBC-Calls are great.
>
> I want to use this Part of Turbine as Part of same EJB-EntityBeans to
> implement the persistence mechanics. Therefore I know that I need an
> TurbineConfig Object wich will be initialized first.
>
> Now my questions:
>
> - Can the TurbineConfig run outside the environment of an
> Servlet-Container?
> - Can I use the Peer-Classes whithout initializing TurbineConfig when I
> provide the Connection directly to the Peer.doSelect(crit,con) etc.?
> - Did anyone use the Peer-Classes inside an EJB-Container?
>
> Thanks in advance
> Uwe
>
>
> ---------------------------------------------------------------------
> 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