users@glassfish.java.net

Re: Generating business interfaces automatically

From: Marco Tedone <mtedone_at_jemos.co.uk>
Date: Wed, 17 May 2006 17:38:21 +0100

If you want you can use the beta-version of my tool. The framework hasn't been published yet, but soon will offer also the possibility to auto-generated the persistence XML file, based on Annotation.

Check this out:

http://www.jemos.co.uk/projects/jemos-clanker/docs/index.html


  ----- Original Message -----
  From: Tharaka Abeywickrama
  To: users_at_glassfish.dev.java.net
  Sent: Wednesday, May 17, 2006 8:52 AM
  Subject: Generating business interfaces automatically


  Hi,

  Can we get EJB3 to generate the business interface, or do we always need to define one explicitly?

  I saw in http://java.sun.com/developer/technicalArticles/ebeans/ejbease/
  that this is possible. It says:

  "...To create a session bean using EJB 3.0 technology, a developer only needs to code a bean class, annotated with appropriate metadata annotations, and a business interface. The business interface can be generated by default. ..."

  It gives the example
@Stateless @Remote public class ConverterBean {
//...}


  If this is possible, what is the name of the class/interface accessed in the clients of the bean?


  Thanks in advance,
  Tharaka


---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]