Starting A Web Application Based On ZK CDI JPA and Jetty"
(Created page with "{{Template:UnderConstruction}} {{Template:Smalltalk_Author| |author=Ian YT Tsai, Engineer, Potix Corporation |date=Aug 06, 2012 |version=ZK 6 }} =Introduction= Building a Java W...") |
m |
||
Line 9: | Line 9: | ||
Building a Java Web application is always started with a bunch of choices; Choices of which software architecture should pick, layers within picked architecture should be defined, and possible solutions or frameworks that each layer should use. | Building a Java Web application is always started with a bunch of choices; Choices of which software architecture should pick, layers within picked architecture should be defined, and possible solutions or frameworks that each layer should use. | ||
− | So in this article, by walking through a development Environment setup and application stack build-up, I want to propose a common practice of building a light weight | + | So in this article, by walking through a development Environment setup and application stack build-up, I want to propose a common practice of building a light weight web app based on Java EE 6(Weld CDI, Hibernate JPA) and ZK on a simple web container (Jetty or Tomcat). |
− | + | This is a series article, and in the next next article: XXXX I'll introduce some user scenarios and programming practices between each layers. | |
=project setup= | =project setup= | ||
+ | First, let's prepare our development environment, here is the project resource host link: XXXXXX. You can download & unpack the downloadable zip file or if you are familiar with Git, you can "git clone" it to your local directory. Now, let's see the prerequisites of this project. | ||
+ | |||
+ | |||
+ | ===Eclipse IDE Preparation=== | ||
+ | Please download Eclipse 3.6 or 3.7 '''JavaEE Developer's''' package, though Eclipse already announced it's newest version "Juno"(4.2), but I haven't make sure very required plugins are all functional. The required plugins are listed bellow: | ||
+ | # '''M2Eclipse''': in order to shrink the project size and manage the project well, I use Maven to manage my project, and M2Eclipse can help you import the project into your eclipse workspace much easier. | ||
+ | # '''Run Jetty Run''': a very light weight Jetty server runner to host the runtime of your web application. | ||
+ | |||
− | |||
=Application Stack= | =Application Stack= | ||
Line 27: | Line 34: | ||
=ZK as Presentation= | =ZK as Presentation= | ||
=Summery= | =Summery= | ||
+ | == |
Revision as of 05:01, 7 August 2012
Ian YT Tsai, Engineer, Potix Corporation
Aug 06, 2012
ZK 6
Introduction
Building a Java Web application is always started with a bunch of choices; Choices of which software architecture should pick, layers within picked architecture should be defined, and possible solutions or frameworks that each layer should use.
So in this article, by walking through a development Environment setup and application stack build-up, I want to propose a common practice of building a light weight web app based on Java EE 6(Weld CDI, Hibernate JPA) and ZK on a simple web container (Jetty or Tomcat).
This is a series article, and in the next next article: XXXX I'll introduce some user scenarios and programming practices between each layers.
project setup
First, let's prepare our development environment, here is the project resource host link: XXXXXX. You can download & unpack the downloadable zip file or if you are familiar with Git, you can "git clone" it to your local directory. Now, let's see the prerequisites of this project.
Eclipse IDE Preparation
Please download Eclipse 3.6 or 3.7 JavaEE Developer's package, though Eclipse already announced it's newest version "Juno"(4.2), but I haven't make sure very required plugins are all functional. The required plugins are listed bellow:
- M2Eclipse: in order to shrink the project size and manage the project well, I use Maven to manage my project, and M2Eclipse can help you import the project into your eclipse workspace much easier.
- Run Jetty Run: a very light weight Jetty server runner to host the runtime of your web application.
Application Stack
Light weight Servlet Container
Java EE standard: CDI
Hibernate JPA as Persistence
ZK as Presentation
Summery
==