Forums Register Login

Newbie reference and replication

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 


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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
 

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.
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 690 times.
Similar Threads
Spring Web Flow 2 Web Development
10 Life Changing Interview Questions with Explanations(Updated)
Pro Spring by Rob Harrop, Jan Machacek
SCEA 5 book on the way?
A question about Spring and Hibernate
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:39:08.