View RSS Feed

Most Popular Blogs

  1. Spring Logging - Log4J

    by , 07-07-2012 at 06:39 PM
    The Spring framework has great support for Log4J and it is easy to use Log4J for logging inside Spring applications. In this section, we will discuss the Log4J and Spring integration and how you can use it.
    To install the Log4J on you machine, download it from the apache website, extract the zip file and use the log4j.jar in your project.
    The Jakarta commons loggin (JCL) API provides an alternative approach to support loggin in your Spring application. Jakarta commons loggin API can ...
    Categories
    Tutorial
  2. Spring Quick Guide

    by , 07-07-2012 at 06:40 PM
    For Java enterprise application development the most popular development framework is Spring. The Spring framework is being used by the million of developers around the work. It is possible to create easily testable, high performing and reusable code.

    The Spring is an open source Java platform based Framewrok. The Spring framework was first released in June 2003 under the Apache 2.0 license and it was written by Rod Johnson initially.

    When considering the transparency ...
    Categories
    Tutorial
  3. Spring Framework Advantages

    by , 07-07-2012 at 06:41 PM
    Following are the benefits offered by the Spring Framework.
    It is possible to develop enterprise level application in Spring using POJOS. The major benefit of using POJO is that you can avoid EJB container like application server. In such cases you just need to use a web server like Tomcat or any other commercial product.
    A modular style is used to organize Spring. There are lot of packages and classes but you must only consider the classes being used by you.
    The spring ...
  4. Disadvantages of Struts2

    by , 07-07-2012 at 06:44 PM
    Struts2 provides a lot of good features and functionalities but there also few disadvantages of Struts2 in specific environments and conditions. We will discuss the disadvantages of Struts2 in this topic.

    Bigger Learning Curve: In order to use Struts MVC framework, you must have expertise with JSP, Servlet API and the Struts framework.
    Poor Documentation: Struts2 offers limited online resources for learning as compared to standard JSP and Servlet API. Also the new user ...
  5. Architecture of Struts 2

    by , 07-07-2012 at 06:46 PM
    Struts2 is a MVC/MVC2 framework from a high level view. The following 5 components provide the Struts2 Model View Controller Pattern.

    Interceptors
    Actions
    Value Stack
    View
    Results

    In Struts2 the actions take the model role instead of controller so it is little different from the traditional Model view controller framework. But there is always a overlap between the two.

    Name:  1.jpg
Views: 3050
Size:  56.1 KB
    Architecture
    ...
  6. Struts2 Localization and internationalization

    by , 07-07-2012 at 06:47 PM
    In order to make products and services compatiable with local cultures and languages, the internationalization process is used. Localization is a process that plans implement products and services and make them adaptable to specific culture and language. The internationalization process is also refered as localization enablement or translation. Internationalization is also abbreviated as i18n.

    It starts with i.
    It ends with n
    It contains 18 characters between ...
    Categories
    Tutorial
  7. Type Conversion in Struts

    by , 07-07-2012 at 06:50 PM
    The protocol treats all the HTTP requests as a String. It may include Boolean, integers, dates, numbers, decimals and everything. According to HTTP protocol, everything is a string. As compared to this approach, the struts class supports the data types and it has properties.
    Different types of converters are used by the struts so that it can perform heavy lifting. For example, in your Action class you have a specific data type like integer; it will be automatically converted into integer ...
  8. Tag Library Introduction

    by , 07-07-2012 at 06:51 PM
    The programming language objects are created and accessed using action elements in Java Server Pages and the output stream is affected. There are 6 standard actions that are defined in the JSP specification and the JSP compliant implementation must provide these standards.
    The custom actions which are reusable modules are also supported by the JSP technology in addition with standard actions. The custom tag in a JSP page is used to invoke the customer action. The custom tags collection makes ...
  9. Cooperating Tags in JSP

    by
    JSP
    , 07-07-2012 at 06:55 PM
    Java Server Pages provides support for two types of object sharing. This object sharing is achieved using cooperating tags.

    In first approach, an object is given a name and page context is used to store this object. The page context is implicit object that can be accessed by tag handlers and JSP pages. The following command is used to access a shared object that has been given a name.
    Java Code:
    pageContext.getAttribute( name, scope );
    In second approach of ...
  10. JavaServer Pages Introduction

    by
    JSP
    , 07-07-2012 at 06:56 PM
    Java Server Pages is a well known technology for web based application development. It supports:

    Dynamic content handling
    Insertion of Java code as expression element in HTML tags.
    Use of special JSP tags

    Most of the JSP tags start with <% and these tags ends with %>.

    Java Server Pages are compiled to Servlets and are a specific type of servelts however it offers more benefits over the traditional servlets. Also Java Server ...
    Categories
    Tutorial
  11. Form Processing in JSP

    by
    JSP
    , 07-07-2012 at 07:10 PM
    In a JSP progam, a programmer may have handled situations in which he sends information from browser to server and finally this information is communicated to backend business logic. Following two methods are used by the web browsers to send form data and information to web server.

    GET Method: The encoded information is sent from browser to the server using this GET method. The information and page URL is separated using the ? character. Following is an example of GET method information ...
    Categories
    Tutorial
Page 4 of 4 FirstFirst ... 234