EJB development made easy using the UML Visualizer


News: EJB development made easy using the UML Visualizer

  1. EJB development doesn't have to be hard. This article will show you how easy it is to create an EJB-based application visually and test it on a server using WebSphere Studio V5.1.2 and its UML Visualizer. By creating a simple library application, you'll learn how to use the UML Visualizer to create, modify, deploy, and test of a set of EJBs.

    Read: EJB development made easy using the UML Visualizer in WebSphere Studio

    Threaded Messages (6)

  2. What's new about this?
    JDeveloper, for example, had EJB modeling for ages now.
    You want something new?
    How about the drag and drop binding from EJB to JSP fields using JSR-227?
    And since we are posting tutorials here, here goes another one that will take you even further by showing you how to build JSP interfaces to your EJB (Visually of course):
  3. Proprietry[ Go to top ]

    I'm gonna play a little with JDev's ability in the next few min, but AFAIK JDev does this by using a proprietry framework called ADF, am I correct?

    I wish there would be a standard (perhaps there is one in the works) that standardizes the entire J2EE data flow between tiers. Something that defines how the data should be returned from the EJB tier, processed, if needed, for presentation, and then updated (again, using some session facade that accepts a common form of the data).

    Today, it's everyone to himself/herself - *we* define the interface of the session beans (which is basically good) but then we need to do it all over again in every application - the data-to-presentation and vice versa, that is.

    I often tinked with the idea of having our session beans return RowSets consistently, so that we could automate our presentation tiers more effectively.

    Again, everything is possible, but everything is also proprietry or application-specific.

    Just a couple of cents of my head ;-)
  4. re: Proprietry[ Go to top ]

    Actually, what JDeveloper is doing to enable binding of EJBs to UI's is the base for JSR-227 http://www.jcp.org/en/jsr/detail?id=227
    Which tries to solve the exact problem you describe.
    JSR 227 aims to define a standard way to bind to data sources (be them EJBs, POJOs, Web services or....), realizing that there is a common set of functions that you preform on these data sources.
  5. Proprietry[ Go to top ]

    I think it must be possible to return DOM for UI or register UI builder as SAX handler for performance, there are many standards and tools for XML, probably performance is a problem, but it must be possible to transform data to HTML stream without parsing.
  6. EJB development doesn't have to be hard.
    It is not that hard since invention of XDoclet.

    But even EJB development 'not hard' it does not mean that EJB-s should be used everywhere.
  7. XDoclet made things simpler, true, but I think I'd wait till EJB 3.0/3.1 before diving into it. So far I've managed to get along fine with servlets, JSPs, struts, spring/hivemind etc just fine.