Often an XSD is supplied by an external or internal employee with purpose to create a Web service.
In this article I will step by step explain how to create a webservice with merly a XSD.
Step 1: Create an EJB module
Click File> new project, then select the group “Java EE ” and the option EJB module.
In [...]
GlassFish is standard in “development mode” delivered.
When clustering is required, you can enable the “enterprise mode” in the admin console.
On the main page of the admin console is an option “add cluster support”. (see fig1)
fig1.
Before you start cluster support do not forget to make a copy of the domain.xml (default under glassfish/domains/domain1/config). So you [...]
As applications get deployed, undeployed, and redeployed, and as you experiment with different server configuration settings, there may be times when your server gets into a confused or unstable state. In such cases, it is useful to have a previously saved working configuration on which to fall back. This is not problem solving, per se, [...]
Get JDK (Java SE Development Kit) 6 or higher from http://java.sun.com/javase/, if you are using Solaris, Linux, or Windows.
1. Download the GlassFish v2 distribution https://glassfish.dev.java.net/public/downloadsindex.html.
2. Set the environment variable JAVA_HOME to point to the directory in which JDK 6 is installed.
3. Run the following command:
java -Xmx256m -jar {glassfish_install}.jar
4. Set ANT_HOME to point to the ant [...]
JDBC Datasources are very flexible resources if you know you have 20 different applications working with the same database. Let the connections all be handled by the Glassfish mechanism, and just refer in all your applications to the JNDI location of the datasource. Here is how we create a datasource in Glassfish. (Note: If you [...]
When developing SOA and enterprise oriented web applications, it is no surprise we have to deal with custom technical requirements. These requirements are adopted by several decisions from the business side.
Luckily Glassfish is a very flexible and easy to understand application server. It is not bounded on using specific kind of databases or other kind [...]