DTO transfer strategy

Discussions

EJB design: DTO transfer strategy

  1. DTO transfer strategy (4 messages)

    Hello.

    I'm trying to develop a dto transfer strategy for a simple access to ejb.

    I think it would be best to obtain a business interface from a
    factory. The factory creates a new proxy instance, which delegates
    the method name and the argument object array to a generic session
    bean. The session bean instantiates new proxy instance, which works
    in the opposite direction an invokes the method on the corresponding
    implementation.

    Please tell me your opinion about that thought. Is there already an
    implementation? Are there better strategies?

    Thx for your comment.

    Andi

    Threaded Messages (4)

  2. DTO transfer strategy[ Go to top ]

    I think you have too much time on your hands. Quit playing "acedemic" and get the job done.
  3. optimal architecture[ Go to top ]

    Architecture needs are not mentioned so hard to suggest something. you should look into castor, BOF ( a specification from OMG). I created something which I call DEM. We are marketing and selling it now.

    It takes the DTO as an object and using MOF (meta object facility), insitantiation manager, relationship manager, and query service manager, it runs the query in the database. It is database independent.

    regards
    deepak mittal
    dm_mittal@yahoo.com
  4. DTO transfer strategy[ Go to top ]

    javaworld had an article a while back about a bean factory that used delegates to create proxy object instances where the delegates (specified in xml) described the behavior of the proxies. We wrote a similar "shell" framework for our most recent project to handle service registry-type functionality and lifecycle management.
  5. DTO transfer strategy[ Go to top ]

    thx for comment.