Target Audience: Web Component Developers, Configuration Managers and Deployment Managers What should you know already: J2EE, Spring MVC In an enterprise application we often use property files to share data in Java classes and XML configuration files. The problem is accessing these property files in your code. Whenever you want to read a value out …
Category: J2EE
Java 2 Enterprise Edition
Permanent link to this article: https://blog.openshell.in/2012/11/access-external-property-file-in-spring-application-context-using-propertyplaceholderconfigurer/
Jul 26
How to read XML document using JSTL
JSTL allows the JSP developers to use simple logic and iterative code in the form of tags rather than typical Java code in JSP. In this article, you will know about how to parse XML document using JSTL XML tags.
Permanent link to this article: https://blog.openshell.in/2011/07/how-to-read-xml-document-using-jstl/
Dec 28
Exception Handling Provided by Struts
Exception Handling Capabilities of Struts Target Audience: J2EE Developers, Web Component Developers What you should know already: MVC Design Pattern, Struts Framework, Struts configuration file Exception handling is very crucial part in Web application development. Throwing an exception is Java’s way of informing the client that something has gone wrong while doing a certain processing …
Permanent link to this article: https://blog.openshell.in/2010/12/exception-handling-provided-by-struts/
Dec 01
Java Design Pattern
Design Patterns are recurring solutions to design problems. The 23 design patterns included in Design Patterns all had several known applications and were on a middle level of generality, where they could easily cross application areas and encompass several objects. These patterns are divided into 3 types. Creational Patterns: create objects for you, rather than …
Permanent link to this article: https://blog.openshell.in/2010/12/java-design-pattern/
Permanent link to this article: https://blog.openshell.in/2010/11/multiple-message-resource-bundle-in-struts-1/
Nov 30
MVC
MVC is a design pattern. It contains two models. MVC Model 1 and MVC Model 2. Struts framework implements MVC Design Pattern. Struts can implement Model 1 and Model 2. Model 2 most properly describes the application of MVC in a Web-Application context. Features of MVC1 Architecture: (1) HTML or JSP files are used to …
Permanent link to this article: https://blog.openshell.in/2010/11/mvc1-vs-mvc2-in-struts/
Nov 27
Configuring JNDI data source in Tomcat
By using Java Naming and Directory Interface (JNDI) service, one can connect resources of different technologies. A typical web application in Tomcat has a file called as context.xml in which the context path (root) of the web application is defined. Usually this file is located in META-INF directory of you web application (see figure 1). …
Permanent link to this article: https://blog.openshell.in/2010/11/configuring-jndi-data-source-in-tomcat/