• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

REST view framworks and Spring 3.0

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi;

I am noew to Spring so if this question is simple I am sorry. I use the Google Web Toolkit to produce my customers web gui's. Can I replace the Spring servlet with the GWT RPC servlet?

My second question is, I have a customer that requires large data pulls which plays havoc on our webserver. Does spring or Hibernate have a throddle built in so that we can control how much data we are pushing to the customer. We are talking HUGE AMOUNTS OF DATA!!

I have looked at the Dependancy Injection that Spring bring to the table and I am very interested in trying to incorporate it into our RESTful interface. Any tips or sites to go to to find out information about implementing DI. I have your 2.0 book.
 
author & internet detective
Posts: 41502
881
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Barry Raczkowski wrote:Can I replace the Spring servlet with the GWT RPC servlet?


You can use parts of Spring and not others. So you can use Dependency Injection and the like without using Spring MVC for the front end. In other words, you can continue to use GWT completely for the front end.

Barry Raczkowski wrote:My second question is, I have a customer that requires large data pulls which plays havoc on our webserver. Does spring or Hibernate have a throddle built in so that we can control how much data we are pushing to the customer. We are talking HUGE AMOUNTS OF DATA!!


Hibernate does have paging. Take a look at the Query interface, you see methods to set the first and maximum results to return.
 
Barry Raczkowski
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you!

Would you happen to know if Spring 2.5 has a REST interface?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic