2 Replies Latest reply on Feb 13, 2004 11:02 AM by xiaofengw

    Can I deploy value object to database?

    xiaofengw

      I'm newbie to jboss. I don't know if the deployment of value object means creating a table in database or not.

      Before I was using OC4J which i can write a oc4j deployment descriptor to deploy the entity bean and value object to database directly.

      I have tried to do the same thing in Jboss, but nothing happened in the database, only entity bean table generated. Can anybody give some idea on this?

      thanks in advance.

      stanley

        • 1. Re: Can I deploy value object to database?
          pilhuhn

          Uh?
          ValueObjects are (with some help) translated into entity bean getters and
          setters which then access the database. If you'd write value objects directly to the database, then why would you like to have entity beans?

          • 2. Re: Can I deploy value object to database?
            xiaofengw

            Actually I have a task to migrate a project which was developed two years ago. It used a lot of value objects to avoid network bottleneck(EJB1.1). It deployed to an oc4j app server which generated tables for those value objects automatically. But now I have problem to deploy this to JBoss, I don't know if the tables for these value objects will be generated automatically or I have to do it manually.