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

Hibernate with RSS Feeds.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We can fetch or insert data to any kind of database using database.. Is there any way with which we fetch data from RSS Feeds XMl files using Hibernate Caching..? or i have to fetch the data from RSS XML file and place it to database and then fetch it through Hibernate..? please Suggest me
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hibernate is an Object Relational Mapping tool. RSS is not relational data, so Hibernate is the wrong tool to try to handle RSS.
 
Vikram Takkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just want to use Hibernate Caching with RSS Feeds ... so that every time user click on the link it does not have to create connection...
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's still the wrong technology for your problem.

Why cache RSS feeds anyway? Isn't that invalidating the reason you would use RSS?
 
Vikram Takkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use RSS feeds in my Web Application and i want to use hibernate caching with this ... if it is not good way .. then suggest me something for this.. that is every time user click on the Link of the RSS Feed it will not make connection it just check with the cache ..... if page is in cache load it from cache... otherwise make connection with Server.. Please suggest me..
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


that is every time user click on the Link of the RSS Feed it will not make connection it just check with the cache ..... if page is in cache load it from cache... otherwise make connection with Server


You would typically use RSS for sites whose content changes often (such as news feeds) so I'd suggest caching RSS Items is not necessarily something you should be trying to do (that is, unless there is a <ttl /> element in the Item, in which case you should briefly cache it). You certainly don't want to use Hibernate, largely because you can't. I'd look at an open source RSS parser (have a Google) - some of them will undoubtably perform TTL caching.
 
Vikram Takkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i want to use RSS feeds and this will include <ttl> tag.. and i will use Hibernate with this....

just read this article

http://informa.sourceforge.net/quickstart.html

and any help will be welcomed
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hibernate is used in that article to persist RSS channels and items, not as a caching mechanism. Sounds fine if you want an archive of RSS channels and items.
 
Vikram Takkar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello .. i think i have found Good API called "INFORMA" for parsing RSS Feeds.. using Hibernate for building news channel object Model .. Please Suggest me is this Good for my Project ......

Any help will be Welcomed..
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic