Distributed J2EE Application Deployment


EJB design: Distributed J2EE Application Deployment

  1. Distributed J2EE Application Deployment (5 messages)

    Hello Guys,
    Can some one tell me how we can deploy application in Distributed architecture..??? I want to know what goes where? If I have JSPs, Servlets, Business Delegate, Command , Session Facade and Entity.
    I have 2 Web Servers and 1 App server and 1 Database server.
    JSPs and Servlets obviously go in Webserver and EJBs go in App server, but im confused about Commanc Pattern or Business Delegate pattern codes... Where they will sit? and How can EJBs be accessed from Web server?
    Your answer to this is much appriciated

    Threaded Messages (5)

  2. Buy a book[ Go to top ]

    Buy Rod Johnson's book "J2EE Design and Development"
  3. Distributed J2EE Application Deployment[ Go to top ]

    This question is way to complex to answer here. There are simply too many options. I suggest your read a book on the subject. Two good ones are:

    * Patterns of Enterprise Architecture by Martin Fowler
    * J2EE Blueprints, available online at: http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/index.html
  4. Distributed J2EE Application Deployment[ Go to top ]

    Thanks guys....!!!
    I will have a look at the Books...
    But apart from that s there any rule of thumb for deploying J2EE Application?
  5. Distributed J2EE Application Deployment[ Go to top ]

    Here is are two rules of thumb. The most common problem I see in J2EE applications is direct interaction between the UI/web layer and Entity beans. The two "must use" patterns of J2EE are Session Facade and DTO.

    The second most common problem I see is poorly architected web layers. Pick some variation on Model-View-Controller for your web layer and stick with it. In the longer run, the extra work pays off in spades.

    The references above list many other helpful tricks, but MVC and Facade/DTO are probably the most important.
  6. Distributed J2EE Application Deployment[ Go to top ]

    Thanks Paul,
    Thanks for the comments!!!