Results 1 to 2 of 2

Thread: ROO - Domain Builder

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Question ROO - Domain Builder

    Folks,
    Has anyone had success in applying ROO as a rapid reusable domain model builder ?

    IE.
    - Generate the domain model, complete with JPA and JSR-303.
    - Package as a jar, available to other projects.

    Notes :
    1 - Either push in all aspects implementation OR include support libraries.
    2 - Persistence.xml would have to be removed, with JPA annotations still supported.. (?) JPA manager / DB config would reside in an application (webservice / web app / batch app) deployment project.

    Any thoughts on this ? ROO is great for rapid development, this could make it even more portable / usable outside of the CRUD space.

  2. #2
    Join Date
    Jun 2010
    Posts
    440

    Default I

    Create your domain model using Roo... Exit Roo

    Then execute a mvn assembly:assembly command. That will produce 2 jar files, with pretty much what you want.

    Hope helps you
    jD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •