Announcement Announcement Module
Collapse
No announcement yet.
Which is better for standalone distributed application(Spring POJO vs EJB) ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Which is better for standalone distributed application(Spring POJO vs EJB) ?

    Hi All,

    I want to develop a distributed standalone application in which I have used the following technologies

    Presentation Layer : Swings
    Business Layer : Spring POJOs
    Persistence Layer : Spring DAO

    I will deploy the business logic in remote location then I will connect to the business components through
    RMI.(without using EJB we can't get the middleware services, spring already provides some middleware services
    like transcations and security but I think it is not providing load balancing)

    If I use spring POJOs instead of EJB shall I get any benifits?
    If I use spring POJOs how load balance the applicaton?
    If we make multiple requests to the ejb container, multiple ejb objects will be created in order to provide the service in case stateless session beans. Is there any similar kind of service in spring POJOs?

    Can I use spring for distributed standalone applications ?(I want Spring POJOs with middle ware services).

    Is Spring best suitable for developing distributed standalone application?

    Please suggest me which technologies are best to implement the distributed applications.(For standalone applications)


    Thanks in advance
    Mohan Reddy.M

  • #2
    If I use spring POJOs how load balance the applicaton?
    The simplest way to achieve load balancing is to use http and have a http load-balancer between your clients and servers. Any good sysadmin should be able to have it up and running in days, if not hours.

    If I use spring POJOs instead of EJB shall I get any benifits?
    What benefits would you like to see?

    If we make multiple requests to the ejb container, multiple ejb objects will be created in order to provide the service in case stateless session beans. Is there any similar kind of service in spring POJOs?
    It's possible, but why would you want that?

    Can I use spring for distributed standalone applications ?
    Yes, why not. Spring doesn't care if your clients are standalone apps or not.

    Is Spring best suitable for developing distributed standalone application?
    I'm not using "the best" often when I talk about architectures. It's suitable, it's good, it's easy to understand, it's easy to write, it's easy to test.

    Please suggest me which technologies are best to implement the distributed applications.
    Any http based solution should work. Soap web services are standard and, other solutions like hessian/burlap are non-standard but should have a bit less overhead then soap.

    Comment

    Working...
    X