This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie reference and replication

 
David Clarke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cameron - welcome to the forums. I'm relatively new to Java and have been thrown in the deep end with Spring etc. Part of my project will involve Hibernate. Apart from your book obviously is there any site that provides a good newbie reference including idiomatic usage.

I'm also interested in replication, what is the recommended approach to replication with hibernate.

Thanks
Dave
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Cameron - welcome to the forums. I'm relatively new to Java and have been thrown in the deep end with Spring etc. Part of my project will involve Hibernate. Apart from your book obviously is there any site that provides a good newbie reference including idiomatic usage.

idiomatic? In context to what?

replication is a concept more in the domain of the database itself, not the tool that bridges between the OO world and the relational world. So the best way to achieve this is to use the mechanisms provided by your database vendor.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you follow my signature links, you can find a number of Hibernate3 tutorials and Java code examples that will make learning Hibernate a bit easier for you.

While Spring and Hibernate are two very different technologies, you'll find that having a fundamental knowledge of Hibernate will really make integrating Hibernate into your applications much easier. And that's what my book does - it really helps the reader understand the fundamentals of how Hibernate works, and what Hibernate is doing behind the scenes.

As far as replication goes, Hibernate might not be the best tool for that task, especially if it's large amounts of data. If it's simply disaster recovery replication, then most databases have that built into them, and using the built in replication and backup process is best. Above and beyond that, moving data can be accomplished by using good ETL tools. I believe IBM's DataStage is a leader in this industry, but there are certainly others.

Using the right tool to solve the given problem will definitely make your life much easier! Keep asking questions, and perhaps we'll be able to help lead you to the best solution.

-Cameron McKenzie
 
David Clarke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:

idiomatic? In context to what?

Thanks for the response Paul. I moved to Java from years of C++/C# towards the end of last year. What I've struggled with the most is that the javadocs come in many flavours, some of greater value than others. But it is rare to find sample usage and searching for useful example code on the web is needle in a haystack material. When I say idiomatic usage I'm really looking for good examples of how the code is used in practice. This is something that MS appear to be very good at by providing example code along with the api.
 
David Clarke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cameron Wallace McKenzie:
If you follow my signature links, you can find a number of Hibernate3 tutorials and Java code examples that will make learning Hibernate a bit easier for you.

While Spring and Hibernate are two very different technologies, you'll find that having a fundamental knowledge of Hibernate will really make integrating Hibernate into your applications much easier. And that's what my book does - it really helps the reader understand the fundamentals of how Hibernate works, and what Hibernate is doing behind the scenes.

As far as replication goes, Hibernate might not be the best tool for that task, especially if it's large amounts of data. If it's simply disaster recovery replication, then most databases have that built into them, and using the built in replication and backup process is best.
-Cameron McKenzie


Thanks Cameron, I'll follow up the links. For replication I'm not talking about a lot of data and I was thinking along the lines of Sequoia.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic