Showing posts with label J2EE. Show all posts
Showing posts with label J2EE. Show all posts
List of Posts
-J2EE is Dead: Long-live Javascript Backed by JSON Services
-Apache CXF
-Integrating EJB across application tiers
-Web Application MVC
-Core J2EE Patterns
-Java EE Downloads: GlassFish and Java EE 6
-JSP Include
-Captcha
-Callable Statement
-Web Service
-Get Server Host Name and Port Number (JSP)
-Database Connection (DriverManager)
-Tomcat Database Connection Pool(DBCP)
-JSP and JSTL
-Inversion of Control (IoC)
-Log4J

Monday, February 24, 2014

J2EE is Dead: Long-live Javascript Backed by JSON Services

http://java.dzone.com/articles/j2ee-dead-long-live-javascript

Monday, September 3, 2012

Apache CXF

Apache CXF: An Open-Source Services Framework
http://cxf.apache.org/
WSDL to Java
http://cxf.apache.org/docs/wsdl-to-java.html

Wednesday, August 15, 2012

Integrating EJB across application tiers


1. Controller
2. Facade
3. App
4. BO  
    DAO -> Assembler -> DTO
5. DAO
6. JPA

Web Application MVC

Presentation
    HTML, JSP, Flex
Controller / Mediator
    Servlets, Struts, Java Bean
Domain
    Java Bean, Session EJB's
Mapping
    Mapper Objects, CMP EJB's, BMP EJB's
Repository
    JDBC, JMS

Tuesday, December 7, 2010

Core J2EE Patterns

http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html

Core J2EE Patterns: Best Practices and Design Strategies
http://www.corej2eepatterns.com/index.htm

Thursday, June 17, 2010

Java EE Downloads: GlassFish and Java EE 6

http://java.sun.com/javaee/downloads/index.jsp

Wednesday, April 7, 2010

JSP Include


Wednesday, March 31, 2010

Captcha

Java Captcha in Struts 2 Application
http://www.roseindia.net/struts/struts2/captcha/java-captcha-example.shtml

JCaptcha
http://jcaptcha.sourceforge.net/

SimpleCaptcha
http://simplecaptcha.sourceforge.net/

Tuesday, March 23, 2010

Callable Statement

Test.java

Friday, March 19, 2010

Web Service

Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 1
http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/


Generate the stub files for publishing the Web service using wsgen
wsgen -cp . hello.CircleFunctions
Run the application
java hello.CircleFunctions

http://localhost:8080/WebServiceExample/circlefunctions?WSDL

Introducing JAX-WS 2.0 With the Java SE 6 Platform, Part 2
http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2_pt2/

Sunday, March 14, 2010

Get Server Host Name and Port Number (JSP)

Monday, March 1, 2010

Database Connection (DriverManager)

DBUtil.java

Tomcat Database Connection Pool(DBCP)

context.xml

Wednesday, February 24, 2010

JSP and JSTL

This book is a good example for learning JSP and JSTL
Most of the example work without any configuration.
http://oreilly.com/catalog/9780596005634/

Monday, February 22, 2010

Inversion of Control (IoC)

Inversion of Control Containers and the Dependency Injection pattern
http://martinfowler.com/articles/injection.html

Sunday, February 21, 2010

Log4J

Logger Level
TRACE,
DEBUG,
INFO,
WARN,
ERROR.
FATAL

http://javacrazyer.iteye.com/blog/1135493
http://www.cnblogs.com/cy163/archive/2009/03/24/1420455.html


Properties
log4j.logger.org.springframework=FATAL
log4j.logger.org.hibernate=OFF

XML
<logger name="org.springframework">
    <level value="off"/>
logger>
<logger name="org.hibernate">
    <level value="off"/>
logger>