FairGo128 J2EE live demo
ABN: 47 578 293 229 Updated - March 28th 2013

J2EE live demo

Welcome!

Here we have various J2EE demonstrations using a live Web Server.

These small applications can be used as a good reference while building the real enterprise web application.

Small applications are good for regression analysis effectively.

J2EE live demo
EJB
Tomcat Security
Spring Security
Hibernat Test
Spring FileUpload with FIC
Spring Ajax Json
SpringMvc XSL-FO
Spring-Test-REST
Spring-REST-API
Spring-Security-MVC
Spring-WebFlow
JUnit Mocking
Support Forum
Back to Home Page

EJB (Enterprise Java Bean) Web app on GlassFish3

I used to have this J2EE Demo site running on the old SJAS server 5 years ago. I have just ported it to run on GlassFish3 now: http://www.fairgo128demo.com:8084/webdemoJDH

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/DemoJDH

If you like to have a play with a simple AutoTest case - automatically click through this JEE demo Web. Please click: AutoTest Demo

Go To Top Go To Top

Tomcat Security

Here is the most simple (login) security solution demo - just using tomcat basic protection, together with JSF: http://www.fairgo128demo.com:8080/tomcat-security-jsf

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Tomcat

Note: For small Web Application, this is a good and effective approach, protecting for the URLs or JSP pages. But for the method level protection, we have to hard code the role check using getUserPrincipal() or isUserInRole().

Go To Top Go To Top

Spring Security

Here is a sample of a Spring Security + MVC application to access the Fic database, with protections of JSP and DB Access Methods:
http://www.fairgo128demo.com:8080/springmvc-security-hi-formlogin-h2

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring

Note: For large Web Applications, Spring Security may be a better approach, as it offer protection for the methods in the service layer instead of various URLs or JSP pages. Spring Security is more robust, less fragile, and easier to maintain, supporting configuration using XML and/or Annotation.

Spring Security can replace the Application Server Security (like GlassFish/Weblogic/Websphere). i.e. The Web Applications using Spring Security only need the Web Container like Tomcat.

Go To Top Go To Top

Hibernat Test

Note: here are some DB connection sample with JUnit TDD folder structure.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Hibernate/Hibernate-TDD

Go To Top Go To Top

Spring File Upload with FIC integration

Here is a demonstration for how to integrate FIC with the Spring File Upload functionality: http://www.fairgo128demo.com:8080/ficfileupload

FIC full user can consider to enhance the File Upload Security using this sample, to calculate the specified file's signature and then upload, and re-calculate at the remote Web server, compare the two signatures, and update the Fic database, and finally notify the user.

File Upload functionality other then Spring File Uploader can have similar mechanism to achieve file uploading security - integrity, to stop the man-in-the-middle attack.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring/FicFileUpload

Go To Top Go To Top

Spring Ajax Json for Auto Complete JQuery UI

Here is a demonstration for how to utilize Spring Ajax Json for Auto Complete JQuery UI: http://www.fairgo128demo.com:8080/springmvcjson

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring/SpringMvcJson

Go To Top Go To Top

SpringMvc XSL-FO

Here is a demonstration for how to utilize SpringMvc/XML/XSLT/XSL-FO to generate PDF file dynamically: http://www.fairgo128demo.com:8080/springmvcfop

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring/SpringMvcFop

Go To Top Go To Top

SpringMvc REST with spring-test mocking Web context

Here is a demonstration of a Spring MVC REST application, with spring-test with Web Context Mock + Selenium test facility: http://www.fairgo128demo.com:8080/fic-mvc-rest-test

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring/fic-mvc-rest-test

Maven Spring POM bug alter: Spring 3.2.1 POM missing certain compile time dependencies

Go To Top Go To Top

Spring MVC REST API to access the Fic database

Here is a demonstration of a Web Service application supporting a well designed modern Spring REST API, to access the Fic database: http://www.fairgo128demo.com:8080/springmvcjson/restapi/v1/os/win7/md5/testing12345

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring

Go To Top Go To Top

Spring Security application to access the Fic database

Here is a demonstration of an application using Spring Security + MVC application to access the Fic database, with the protections of JSP and DB Access Methods: http://www.fairgo128demo.com:8080/springmvc-security-hi-formlogin-h2

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring

Go To Top Go To Top

Spring WebFlow application to access the Fic database

Here is a demonstration of an application using Spring WebFlow to access the Fic database, with the Spring Security protections: http://www.fairgo128demo.com:8080/springmvc-webflow

This will be integrated onto the Fic Web App soon.

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/JEE/Spring

Go To Top Go To Top

JUnit Mocking

Source Code on my SVN server: http://www.fairgo128demo.com:8082/svn/fairgo128/Java/JUnitMocking

Go To Top Go To Top

Thanks for visiting!

Support@FairGo128.com