Results 1 to 7 of 7

Thread: Spring framework and its advantage.

  1. #1
    Join Date
    Sep 2006
    Posts
    4

    Default Spring framework and its advantage.

    Hi all,

    I read a little about Spring framework. I wanted your valuable suggestion on why do people go for Spring framework. Does it give us added value when it comes to performance or throughput of the system as it is lightweight architecture. And what about the caching strategies in the framework. We have a system which has performance bottlenecks. The system is slow and unstable. (The purpose is to ingest huge quantities of data into a central repository) I needed your thoughts on switching to Spring in our case.

    Thanks for reading.

    Awaiting your reply.

    Srinivas

  2. #2

    Default

    Quote Originally Posted by itssrinivas View Post
    Hi all,

    I read a little about Spring framework. I wanted your valuable suggestion on why do people go for Spring framework. Does it give us added value when it comes to performance or throughput of the system as it is lightweight architecture. And what about the caching strategies in the framework. We have a system which has performance bottlenecks. The system is slow and unstable. (The purpose is to ingest huge quantities of data into a central repository) I needed your thoughts on switching to Spring in our case.

    Thanks for reading.

    Awaiting your reply.

    Srinivas
    First thing first, badly written code makes your system perform bad. First thing I noticed in your question is a question about caching. IMHO Caching is not a good strategy unless it is very trivial. Let your JVM breath a little. DO NOT dump too much on your JVM to keep track of. Even Spring framework would not be able to solve your problem if your code is bad. Spring framework is light weight container and performs very good. But if you don't think of your JVM while writing your code, even spring won't save you.
    Last edited by tatvamasi; Sep 28th, 2006 at 10:23 AM.

  3. #3
    Join Date
    Sep 2006
    Posts
    4

    Default Thanks.

    I appreciate your reply. I meant like does Spring support all the external components such as messaging, configuring, etc. Does it also have support for JAXB or a separate tool API need be used.

    Is Spring a good choice to go for when there are many components(external) in the architecture.

    Thanks.

  4. #4
    Join Date
    Feb 2005
    Location
    Boston, MA
    Posts
    1,142

    Default

    Spring has some excellent components for integration. It can access JAX-RPC service components. Take a look at the reference manual section on remoting.
    Bill

  5. #5
    Join Date
    Sep 2006
    Posts
    4

    Default

    Thanks for your reply.

    Srinivas

  6. #6
    Join Date
    Sep 2006
    Posts
    4

    Default

    Quote Originally Posted by tatvamasi View Post
    IMHO Caching is not a good strategy unless it is very trivial.
    Can you elaborate on this.

    Thanks

  7. #7

    Default

    Quote Originally Posted by itssrinivas View Post
    Can you elaborate on this.

    Thanks
    I have seen people cache lot of data in singletons or sessions or many other places to populate their drop downs as well as lot of other data to do other things. My honest opinion is, get it when you need it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •