Powered by Blogger.

Starting Struts2 by Ian Roughley eBook Download

>> Sunday, September 30, 2012

Struts2 is the latest manifestation of the popular Struts Java web application framework. Like its predecessor, its goals are to make web application development faster, easier and more productive than ever before. Despite new languages and new techniques, the action-base MVC framework is still a viable and effective option for modern web application development.

Within this book you will find everything you need to get up and running using Struts2 - from the architecture and configuration, to implementing actions and the supporting infrastructure such as validation and internationalization.

The concepts covered by this book:
  • WHERE STRUTS2 FITS INTO THE WEB PARADIGM
  • CORE COMPONENTS
  • ARCHITECTURAL GOALS
  • PRODUCTIVITY TIPS
  • INTEGRATING WITH OTHER TECHNOLOGIES

Read more..

Configure Tomcat in MyEclipse 9.1

>> Sunday, September 16, 2012

Once the Tomcat 6.0 installation is done in your local system, configure it in MyEclipse IDE.
Follow the below steps to configure Tomcat 6.0 in your MyEclipse.
Step1: Go to MyEclipse menu bar and select Window menu from there select preferences.

Read more..

Installing and Configuring Tomcat 6.0

>> Sunday, September 9, 2012

Apache Tomcat is an open source software implementation of the Java, Servlet and JavaServer Pages technologies.We can use this to run our Java,Jsp and Servlet based web applications.We can deploy and monitor our application in this.

Double click on apache-tomcat-6.0.14.exe file.A prompt shows in windows 7 to accept installation.Before installing the tomcat you close all other applications.This will make it possible to update relevant system files without having to reboot your computer.

 Step 1: A Welcome Setup wizard displays after double clicking setup file. Click on Next button.

Read more..

How to configure Java in MyEclipse 9.1

>> Wednesday, August 29, 2012

Configure java1.5 on MyEclipse_JavabynataraJ
To run java using MyEclipse 9.1 we should configure this. MyEclipse having more features to develop projects and this will be very useful for developers. This is the next generation of the MyEclipse Enterprise Workbench IDE for enterprise Java and web developers. Basically it supports Java EE 6.0 features such as:
  • Servlet 3.0
  • JSF 2.0
  • JPA 2.0
  • EJB 3.1
  • JAX-RS 1.1
MyEclipse having some Struts 2 Enhancements
  • Improved connection routing
  • Better undo/redo suport
  • Struts 2 specific validation for Struts 2 configuration files
Install MyEclipse in you System.

Read more..

Display Current Date using GenericServlet

>> Sunday, August 26, 2012

We have a class named Date from java.util.Date package. We can use the Date class methods to display the date. We are going to display this date in the webpage using servlets.

Here we are using init methods to initialize the names and values. with this we can get the names and values from the web.xml file while the program runs. Actually this init(javax.servlet.ServletConfig) method is invoked by the container during initialization phase of the servlet interface.

init() method is a convienience method provided in javax.servlet.GenericServlet class. Generally, it is suggested that init(javax.servlet.ServletConfig) method present in javax.servlet.GenericServlet class should be given a chance to get executed, during servlet's initialization. This method, apart from performing some initialization process, invokes init() method at the end.

Read more..

How to Copy properties from one Bean OtherBean

>> Saturday, August 4, 2012

As we know the Bean class containing the variables with setters and getters methods. We can access through the getXxx and setXxx methods by different properties. To copy the properties form one bean to another they should have same datatypes.

To Run our program the requirements are:

As per shown in the below image you can create the files in Eclipse.

Read more..

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.