X

webservices

webservices

Screencast #29: Web service using NetBeans 6.8 and GlassFish v3 (Accessing database in business method)

GlassFish v3 comes bundled with Metro - a secure, reliable, transactional, and .NET interoperable Web services stack. Metro is compliant with JAX-WS and...

GlassFish v3 comes bundled with Metro - a secure, reliable, transactional, and .NET interoperable Web services stack. Metro is compliant with JAX-WS and provides additional quality of service attributes that can be easily enabled using NetBeans IDE.This blog contains a screencast that shows how to create a simple Web service using NetBeans 6.8, implement the business logic by accessing a database table using Java Persistence API, and deploy on GlassFish v3.Please post your...

webservices

TOTD #117: Invoke a JAX-WS Web service from a Rails app deployed in GlassFish

A user on GlassFish Forum tried invoking a JAX-WS Web service from a Rails application and faced some issues. This Tip Of The Day (TTOD) will discuss the...

A user on GlassFish Forum tried invoking a JAX-WS Web service from a Rails application and faced some issues. This Tip Of The Day (TTOD) will discuss the different approaches and shows their current status.A Rails app can be deployed on GlassFish in 3 different ways:Directory Deployment in GlassFish v3 Server - TOTD #72 explains how to deploy a trivial Rails application (with just a scaffold) on GlassFish v3 server. Even though the blog uses a Rails application, any...

webservices

TOTD #98: Create a Metro JAX-WS Web service using GlassFish Tools Bundle for Eclipse

Now that you've installed GlassFish Tools Bundle for Eclipse 1.1, lets use this bundle to create a simple Metro/JAX-WS compliant Web service and deploy on...

Now that you've installed GlassFish Tools Bundle for Eclipse 1.1, lets use this bundle to create a simple Metro/JAX-WS compliant Web service and deploy on GlassFish. These steps will work with either Eclipse 3.4.2 or 3.5 with WTP Java EE support.Lets create a simple "Dynamic Web Project" as shown below:Name the project "HelloMetro" and take all other defaults:Click on "Finish" to complete the project creation.Metro allows to create a Web service from a POJO class. So let's...

webservices

JavaFX 1.0 launched - access services hosted on embedded GlassFish

Today Sun announces the availability of JavaFX 1.0.JavaFX 1.0 is a rich client platform for creating and delivering RichInternet Applications across all screens...

Today Sun announces the availability of JavaFX 1.0.JavaFX 1.0 is a rich client platform for creating and delivering RichInternet Applications across all screens (desktop, browser,and mobile) of your life. It consists of the following key components:JavaFXSDK includes JavaFX script compiler and runtimetools, and a host of libraries to create RIAs for desktop, browser andmobile platforms, command-line tools & Ant tasks and othergoodies.NetBeans6.5 support (as plugin or bundled...

webservices

TOTD #58: Jersey and GlassFish - how to process POST requests ?

Lets extend the Jersey endpoint (TOTD#56) and client (TOTD#57) such that it can accept a POST request and then invoke it.Add a new method to "MyResource.java"...

Lets extend the Jersey endpoint (TOTD#56) and client (TOTD#57) such that it can accept a POST request and then invoke it.Add a new method to "MyResource.java" from TOTD#56 as:    @POST    @Consumes("application/json")    @Produces("application/json")    public Greeting postIt(Greetinggreeting) {       System.out.println("In POST: " + greeting.greeting);       return greeting;    }The first line indicates that the Java method will process HTTP POSTrequests. The second and...

webservices

TOTD #56: Simple RESTful Web service using Jersey and Embeddable GlassFish - Text and JSON output

Jerseyis the open source, production quality, JAX-RS(JSR 311) Reference Implementation for building RESTful Web services inthe GlassFishcommunity. It also...

Jerseyis the open source, production quality, JAX-RS(JSR 311) Reference Implementation for building RESTful Web services inthe GlassFishcommunity. It also provides an APIthat allows developers to extend Jersey to suite their requirements.This Tip Of The Day (TOTD) shows howto create a simple RESTful Web service using Jersey and run it usingembeddable GlassFish (glassfish:run). Maven is used to create and runthe application. It also shows how the output format can be...

webservices

SOAP and REST - both equally important to Sun

"Sun moving away from SOAP to embrace REST" is the misleading titleof an article recently published in SDTimes. The article provides a good introduction to...

"Sun moving away from SOAP to embrace REST" is the misleading titleof an article recently published in SDTimes. The article provides a good introduction to JAX-RS andJersey. But I really wonder what motivated the author of thisarticle to use this title. This blog, hopefully, provides a bettercontext.Jersey isthe Reference Implementation of Java API for RESTful Web Services(JAX-RS, JSR311)and was released earlier this week. The headline indicates that Sun isleaving SOAP and...

webservices

LOTD #1: Using Silverlight to access GlassFish Metro and JAX-WS Web service endpoints

Following TOTD(Tip Of The Day) pattern, I'mstarting LOTD (LinkOf TheDay) seriestoday. These are light-weight entries with generally a single linedescription and...

Following TOTD(Tip Of The Day) pattern, I'mstarting LOTD (LinkOf TheDay) seriestoday. These are light-weight entries with generally a single linedescription and links to otherblogs/articles/tips/whitepapers/screencasts/etc.Let's start with three recent entries on MSDN that describe how toinvoke Metroand JAX-WSWeb service endpoints from MicrosoftSilverlight and .NET:Calla Java EE Web service from .NETClientCalla Java EE Web service from SilverlightClient (deployed on...

webservices

Why GlassFish Metro over Axis ?

Metro (Webservices stack from GlassFish)is kicking strong these days - here are two instances!ArcGIS SOAP stack gains 90% performance improvement usingMetroAn...

Metro (Webservices stack from GlassFish)is kicking strong these days - here are two instances!ArcGIS SOAP stack gains 90% performance improvement usingMetroAn internin the Web services team for performance enhancement of ArcGISSOAP SDK reported:"With Axis 1.x basedtool kits XML parsing was identified as a bottleneck and therefore wewanted to make a switch to a tool kit that uses the Streaming API forXML Parsing (StAX). We identified that Metro (Glassfish's SOAP Stack)was the...

Oracle

Integrated Cloud Applications & Platform Services