facebook

Facade generation

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #205301 Reply

    mohideen_beg
    Member

    Hi

    I am trying to generate a session facade for my entities. Does anybody have some sample code for this? (XDoclet samples)

    Thanks

    #210634 Reply

    Riyad Kalla
    Member
    #234418 Reply

    Richard Eberhardt
    Participant

    @mohideen_beg wrote:

    Hi

    I am trying to generate a session facade for my entities. Does anybody have some sample code for this? (XDoclet samples)

    Thanks

    Here is an XDoclet snippet from an entity bean that may get you started:

    * * @ejb.facade description = “Generated session facade for CarrierCycleDates”
    * jdni-name = “CarrierDatesDB”
    * local-jndi-name = “CarrierDatesDB”
    * view-type = “both”
    * type = “Stateful”
    * transaction-type = “container”

    Make sure that you add the “entityfacade” tag to the ejbdoclet structure before you run XDoclet.

    Also, see this note for hints on generating the facade session bean interfaces (you have to do a little editing) and build your beans in a couple of steps:

    http://www.myeclipseide.com/modules.php?op=modload&name=PNphpBB2&file=viewtopic&t=1792

    Still working on getting this working completely…..

    Rich

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Facade generation

You must be logged in to post in the forum log in