Java and J2EE Code Examples for 3-Tier Applications

Do you know a site that offers a tutorial with a sample source code for a three-tier application (regular level of data access, business level and user interface layer)?

Simple, readable, and intuitive source code. It is also recommended to use the best methods applied to the code.

+3
source share
3 answers

Take a look at Appfuse , this is a quick launch for a java web application with various frameworks: Tapestry, Spring MVC / Struts2 / JSF + Hibernate / Hibatis. It is based on the Maven assembly, all the basic configurations made for you ... One of the few "realistic" samples that come to my mind ...

Another is the Sun’s Petstore app , and looking at Google’s “download petstore” you can find stuff that seems interesting (I don’t care, I didn’t look at it :-), like this spring petstore , "Ajax based application with DWR, Spring, and Hibernate "...

+2
source

Yes, look at Spring MVC step by step . This is very clear.

+1

, , :

  • Java Pet Store Sun. , , Java EE, - MVC.
  • Spring : JPetStore, Pet Clinic . Spring.
  • Seam
  • 3 , Liferay, , . , , , , Google CRM/ERP/Protals .. (Sourceforge freshmeat.net ).
  • Although supported by CMS, not a database, Artifactory can also serve as a good example.

I hope for this help.

+1
source

Source: https://habr.com/ru/post/1705395/


All Articles