Tag archives for Java


Tight coupling and loose coupling between Java Objects

While developing java applications one class will collaborate with another class to provide the service to the end user. In java one class is collaborating other class means one class is using the business method of the other class. If one class is calling the other class method means then we say that ...
Continue Reading »

How to Call AS/400 RPG Program from Java

IBM has provided library for communicating with the AS/400 server from Java. The IBM Toolbox for Java is a library of Java classes that give Java programs easy access to IBM iSeries data and resources. JT Open is the open source version of Toolbox for Java. You can go to JT Open link to download ...
Continue Reading »

Apache Commons Bean Utils Tutorial

The Bean Utilities component of the Apache Commons subproject offers low-level utility classes that assist in getting and setting property values on Java classes that follow the naming design patterns outlined in the JavaBeans Specification, as well as mechanisms for dynamically defining and accessing bean properties. We have a JavaBean named “Person” with two fields name ...
Continue Reading »

How to create XSD from XML using Java Application

In this tutorial I am going to explain how to create or generate a XSD from the XML. I will use two different steps to create or generate a XSD from XML. Using xsd-gen-0.2.0-jar-with-dependencies.jar: To done this, first we need to have this “xsd-gen-VERSION-jar-with-dependencies.jar” jar file. In this example I am using the xsd-gen-0.2.0-jar-with-dependencies.jar version ...
Continue Reading »

How to split Big XML File using Java Application

In this tutorial I am going to explain how to split the Big XML file into multiple XML files based on the specified element/node. In this example I am taking the following employee xml file, it contains name, personal details, work details and project details. Here I am going to split the employee xml ...
Continue Reading »
1 2 4