使用Java的数据库应用程序中的设计模式(Java EE / Java SE)

问题描述:

我一直在阅读*一段时间,现在我只是在想一个问题。我20岁,目前在我的家乡(罗马尼亚克卢日 - 纳波卡)入读IT大学。足够介绍:D。

I've been reading * for quite a while now and I'm only now building the nerve to ask a question. I'm 20 years old and currently enrolled in college in IT here in my hometown (Cluj-Napoca, Romania). Enough for introductions :D.

基本上我有我的小软件公司提供Book-keeping appz。他们(可怕的)用Delphi编写,我想从头开始,用Java编写。我以前在Java方面没有什么经验,但是我想学习,我选择了Java,因为平台提供了便宜和优质的工具。

Basically I have my little software firm that provides Book-keeping appz. They're (horrifyingly) written in Delphi and I want to start from scratch and write them in Java. I've had little experience with Java in the past but I want to learn and I've chosen Java because of the cheap and quality tools the platform offers.

现在可以您可以指出我正确的方向,在哪里可以找到一些完整的文档(书籍,网站,博客等),以获取正确构建数据库应用程序的一些信息,包括使用DB的设计模式(我的选择是PostgreSQL,并已经订购了一本书)和Java。我知道我第一次无法得到它,但至少让它接近正确。

Now could you please point me to the right direction as where could I find some complete documentation (books, web-sites, blogs etc) as where to get some info on properly building database applications including design patterns with DBs(my choice is PostgreSQL and have already ordered a book) and also Java. I know I won't be able to get it right the first time but at least get it close to right.

谢谢

首先:欢迎: - )

有很多优秀和免费的资源覆盖Java作为一种语言(例如 wikibooks ),Sun的参考文档也很全面。一旦了解了语言的基础知识,我认为它可以深入挖掘数据库应用程序和模式的深度。如何?

There are a lot of good and free resources covering Java as a language ( e.g. wikibooks ), and the reference documentation by Sun is also quite comprehensive. Once you have understood the basics of the language, I think its time to dive into the depths of database applications, and patterns. How?

首先,您应该尝试构建一些简单的数据库方案,操场 - 方案从我可以看出来有所帮助。想象一下一个图书馆,并试图建模。它不需要很长时间,你会学到很多。

First of all, you should try to build some simple database schemes, "playground"-scenarios are helpful from what I can tell. Imagine e.g. a library and try to model that. It doesn't take long yet you will learn a lot.

对于模式,我一般认为它们是一个指导,像你可能会纳入的MVC模式。不要强迫自己首先使用它们,尝试一次理解一个,并重构你的代码,使其中有一些模式,而不是首先写入模式。

For patterns, I generally think of them as a guide, like the MVC pattern which you will likely incorporate. Don't force yourself to use them all in the first place, try to understand one at a time and refactor your code to have some pattern represented there rather than writing to a pattern in the first place.

所以,祝你好运! (当然,一旦你被卡住,请问!)

So, good luck! ( and of course, once you're stuck, just ask! )