• Dec
    11
    2008

    From XSD to Webservice with Netbeans

    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 [...]

  • Dec
    07
    2008

    Enable clustering in GlassFish

    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 [...]

  • Dec
    05
    2008

    Restoring your Glassfish configuration

    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, [...]

  • Dec
    05
    2008

    Installing Glassfish from the command line

    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 [...]

  • Dec
    05
    2008

    Creating a JDBC connection pool and datasource

    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 [...]

  • Dec
    05
    2008

    Extending Glassfish with custom libraries

    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 [...]

 


Copyright


Yenlo is de ICT dienstverlener in Nederland die volop Sun Glassfish technologie inzet om SOA en ESB projecten te doen slagen.
Voor meer informatie kijk ook op www.yenlo.nl

Glassfish is an official trademark of Sun's solution for Application Servers and SOA/BPEL/ESB middleware.
For more information, please see Sun's official website, http://www.sun.com/software/products/appsrvr