• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

PAGING EJB's and jsp - Urgent help Needed

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai Everybody,
i am doing paging using stateful Ejb by maintaing the resultset state in
stateful session bean.
The problem i have is since resultset is not serializable , when
ejbPassivates i will have to explicitly set it to null and in ejbActivate i
will have to rewrite the code to get back the resultset.
Is there any other way of doing it.
one alternative is to covert the resultset into serializable object and to
preserve the serializable objects state rather than resultset.
Can u suggest me any other best approach to do paging using jsp and Ejb's
please reply as early as possible
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
Will u please have a look at CachedRowSets ?? ur problem regarding serializing a resultset will be solved by using cachedrowsets .
See ..
http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html
reply
    Bookmark Topic Watch Topic
  • New Topic