且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

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

更新时间:2023-12-03 15:08:34

首先:欢迎: - )

有很多优秀和免费的资源覆盖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! )