JCart: Create JPA Entities

We are going to create the JPA Entities for the database tables we designed. @Entity @Table(name=”users”) public class User { @Id @GeneratedValue(strategy=GenerationType.AUTO) private Integer id; @Column(nullable=false) @NotEmpty() private String name; @Column(nullable=false, unique=true) @NotEmpty @Email(message=”{errors.invalid_email}”) private String email; @Column(nullable=false) @NotEmpty @Size(min=4)

Continue reading

JCart: Initial Code SetUp

Let us create a root pom type maven project with 3 sub-modules jcart-core, jcart-admin and jcart-site. jcart-core module will contain all the core logic excluding web related stuff. jcart-admin module will contain all the administration related web functionality like Controllers,

Continue reading

JCart : Iteration-1

Now that we have completed the most difficult part (writing Introduction to technical article series is much harder than you think!!), so let’s start the fun part. Coding!!! Note: It is going to be a fast paced tutorial. Obviously we

Continue reading

JCart Release Planning

In our previous article JCart Requirements Analysis  we have listed out all the requirements that we need to implement for JCart application.  Now we need to come up with an implementation and release plan. As we are following iteration model,

Continue reading