what does EJBGen do in Weblogic

Discussion in 'Java' started by gk, Feb 4, 2007.

  1. gk

    gk Guest

    hi read the following in a tutorial but could not understand it . here
    is the content below..

    ==================================================================

    EJBGen

    One of the unanimous complaints we hear from users about J2EE is the
    difficulty of dealing with XML deployment descriptors. While you can
    use sophisticated XML editors that will make sure your documents are
    valid, this method is often not sufficient with J2EE for two reasons:

    * The DTDs for the J2EE descriptors are not rich enough to
    describe all the allowed types and values (this will change with J2EE
    1.4, which mandates the usage of schemas)
    * Even though your XML files might be valid individually, they
    still need to be consistent with each other

    As a result, BEA started developing a tool called EJBGen that was
    shipped with WebLogic Server 7.

    The idea behind EJBGen comes from the observation that a lot of the
    information contained in the deployment descriptors is actually tied
    to elements in your Java source. What could be done to make it easy
    for developers to specify this information in the Java source, and
    then generate the XML descriptors based on these values? EJBGen is
    BEA's answer to this question.

    With WebLogic Workshop 8.1, we are now shipping with a new component
    in the EJBGen development model: an EJBGen Workshop extension. This
    article outlines the main features of this extension.

    =========================================================

    Not able to understand what does EJBGen does ?

    does it creates stubs which a client can use ?

    whats the role it does ?

    it seems it generates something ...right ? because its
    "EJBGen" ...there is a "Gen" in it ....what it generates ?

    what input it takes and what output it produces ? can you please
    tell me one example to illustrate it ?


    is it a compiler like javac in java ?

    please clarify the doubt . this is a bit fishy .

    Thank you
    gk, Feb 4, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bob
    Replies:
    0
    Views:
    1,656
  2. GA
    Replies:
    0
    Views:
    835
  3. Will Hartung
    Replies:
    0
    Views:
    385
    Will Hartung
    Jul 22, 2003
  4. starsailor

    Weblogic 8.1 does not start

    starsailor, Apr 20, 2005, in forum: Java
    Replies:
    0
    Views:
    1,625
    starsailor
    Apr 20, 2005
  5. mei

    EJBGen Vs Xdoclet

    mei, Mar 28, 2007, in forum: Java
    Replies:
    0
    Views:
    344
Loading...

Share This Page