X

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

Monday, February 1, 2010 | webservices | Read More

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

Tuesday, January 12, 2010 | webservices | Read More

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

Tuesday, August 25, 2009 | webservices | Read More

JavaFX 1.0 launched - access services hosted on embedded GlassFish

Today Sun announces the availability of href="http://www.sun.com/aboutsun/pr/2008-12/sunflash.20081204.1.xml">Java FX 1.0. JavaFX 1.0 is a rich client platform for creating and delivering href="http://en.wikipedia.org/wiki/Rich_Internet_Applications">Rich Internet Applications across all screens (desktop, browser, and mobile) of your life. It consists of the following key components: cellspacing="2"> href="http://javafx.com/"> style="border: 0px solid ; width: 200px;...

Thursday, December 4, 2008 | webservices | Read More

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

Lets extend the Jersey endpoint ( href="http://blogs.sun.com/arungupta/entry/totd_56_simple_restful_web">TOTD# 56) and client ( href="http://blogs.sun.com/arungupta/entry/totd_57_jersey_client_api">TOTD# 57) such that it can accept a POST request and then invoke it.Add a new method to "MyResource.java" from href="http://blogs.sun.com/arungupta/entry/totd_56_simple_restful_web">TOTD# 56 as: style="text-align: left; background-color: rgb(204, 204, 255); width: 100%;"cellpadd...

Monday, December 1, 2008 | webservices | Read More