1)Introduction The Spring Framework provides a supportive utility library for sending email that shields the user from the essentials of the core mailing system and is dependable for low level resource handling on behalf of the customer. Spring Framework uses the following package as a root level package for the email support: org.springframework.mail MailSender is […]
In this post, I will describe how to do the same using Struts 2.0. The only major step that needs to be done here is to override the default Struts 2.0 OjbectFactory. Changing the ObjectFactory to Spring give control to Spring framework to instantiate action instances etc. Most of the code is from the previous […]
Had to implement a circular linked list recently. Here’s my take, suggestions are welcome. The list can be parameterized for any type which has a meaningful equals method defined. The main method shows a sample usage of the Circular linked list with the String type. Only add, remove and size method are implemented. also read: […]
Can’t wait to see Servlet 3.0 in action. More details about the specification and the current status is available in its JSR homepage. The introduction of support for non-blocking I/O takes Java Servlets to a new level and this, in my opinion,is the most significant stride in Servlet specification since it was introduced. The benefits […]
Struts 2.0 allows the use of Custom validators through the @CustomValidator annotation. The @CustomValidator annotation takes two mandatory parameters, type and message also read: Struts 2 Tutorials Struts Interview Questions Struts and Spring Integration type: Refers to the “name” given to the validator in the validators.xml file. message: Message to be displayed when this validator […]
To enable SSL on JBoss add the following segment to JBOSS_HOME/server/default/deploy/jbossweb-tomcatxx.sar/server.xml as a child of the jboss.web Service element. also read: WebLogic Interview Questions JBoss Portal Server Development Tomcat Interview Questions NOTE: You can use any keystoreFile of your preference instead of the wso2wsas.jks which is shipped with WSO2 WSAS.
Apache Shale is a Java Server Faces based Web Application Framework from the Apache software foundation. Shale is talked of as the “heir” Apache struts framework. also read: Introduction to JSF JSF Interview Questions Request Processing Lifecycle phases in JSF We all know that struts is the most used Java Web Framework so far. While […]
also read: Java EE Tutorials EJB Interview Questions EJB 3 Web Services Annotation and Dependency Injection in EJB 3 Query API in EJB 3 deploy above two classes by archieving in a jar and copy it to deploy folder of jboss then run ur jboss server with url http://localhost:8080/jbossws there u will get all ur […]