Tuesday January 23, 2007
Creating and Invoking a Web service using GlassFish in NetBeans, IntelliJ, and Eclipse - Part 1
GlassFish is supported in NetBeans, IntelliJ IDEA and Eclipse. I'm starting a 3-part blog that will explain my experience in developing, deploying and invoking a Web service in each of these IDEs. Today, I start with NetBeans.
I'm using NetBeans 5.5.1 for the experiment purpose but these features are available NetBeans 5.0 onwards. Here are the steps that I followed.
" and picking the directory
location where GlassFish is installed. I configured GlassFish
v2 b31.".
Take all the defaults.These steps are described in NetBeans help after I searched on "web service from Java" in the bundled help. Googling for this term (along with NetBeans) gave me Create a Web Service Using NetBeans 5.0 IDE and Consume the Service with Sun Java Studio Creator 2 IDE and Web Services Support in the NetBeans IDE. Both the links contain the appropriate content and provide all the information required for a newbie to get started.
Next, I'll try with IntelliJ IDEA and Eclipse.
Technorati: NetBeans IntelliJ Eclipse GlassFish Web services
Posted by Arun Gupta in webservices | Comments[18]
|
|
|
|
|
Today's Page Hits: 1687
Total # blog entries: 1002
Posted by sud on January 26, 2007 at 05:18 PM PST #
Posted by Arun on January 26, 2007 at 05:19 PM PST #
Posted by Arun Gupta's Blog on January 31, 2007 at 05:13 PM PST #
Posted by Arun Gupta's Blog on February 01, 2007 at 08:51 AM PST #
Posted by Arun Gupta's Blog on February 02, 2007 at 10:12 AM PST #
Posted by Arun Gupta's Blog on February 05, 2007 at 09:18 AM PST #
Posted by giesen on April 10, 2007 at 01:55 PM PDT #
Posted by Logic blog on October 14, 2007 at 12:53 PM PDT #
For Eclipse, found this blog is really useful:
http://weblogs.java.net/blog/vivekp/archive/2007/10/metro_tooling_n.html
Posted by hanofee on April 30, 2008 at 12:26 AM PDT #
hanofee, A complete screencast of creating a Web service using Eclipse 3.3 is available at:
http://blogs.sun.com/arungupta/entry/screencast_ws6_eclipse_europa_and
Posted by 76.126.143.58 on April 30, 2008 at 06:43 AM PDT #
Dear sir,
Eclipse is throwing me java.lang.NullPointerException . PLz help me out.
1. Initially a create a dynamic web project and target runtime is set to GlassFish V2 java EE5 2 and config is set to Default Configration for GlassFish V2 java EE 5 2.
2 In project facets i have set Dynamic Web Module 2.5, java 5.0 and Sun Deployment Descriptors File 9
3. then created .jsp file under WebContent folder.
4. I selected jsp template to be html form .
5. typed helloworld in body and selected Run on server.
I have started Glassfish Server from terminal also. But now it is throwing me error call glassfish server not started and the same way it sometimes throws java.lang.NullPointerException.
Please help me out .
Posted by Priyanka on November 02, 2008 at 10:10 PM PST #
Hi Priyanka,
I see you've taken your question to the alias:
users@glassfishplugins.dev.java.net -- that is the correct place to discuss and I will follow up with you there. Thanks.
Posted by Rochelle on November 04, 2008 at 10:54 AM PST #
I have started Glassfish Server from terminal also. But now it is throwing me error call glassfish server not started and the same way it sometimes throws java.lang.NullPointerException.
Posted by laptop battery on November 26, 2008 at 09:55 PM PST #
Hi,
I am planning to create a TCP plug-in for Transport (i.e. serializing with TCP format) within Metro service stack on GlassFish using Eclipse. While using TCP/IP, the messages will be typically preceded by 2 bytes, the high byte first, low byte second.
It will be helpful if you can guide us if there is any provision (in form of API's) with Metro service stack which we can avail for creation of TCP plug-in for transport.
Thanks,
Dushiyant
Posted by dushiyant on July 03, 2009 at 06:10 AM PDT #
Dushiyant,
Metro has support for SOAP-over-TCP as described at:
http://blogs.sun.com/oleksiys/entry/tcp_transport_for_web_services
Are you looking for something else ?
Posted by Arun Gupta on July 06, 2009 at 10:01 AM PDT #
Hi,
We are not intending to use 'SOAP/TCP' due to following reasons -
1. we don't want to use 'Fastinfoset' which is being used by 'SOAP/TCP'.
2. we want to use TCP with 2 bytes header which is not being currently supported by 'SOAP/TCP'.
Therefore we are planning to develop a TCP plug-in which can serve us as an alternative to 'SOAP/TCP'.
Please guide us as how we can accomplish our purpose by using Metro service stack.
Thanks,
Dushiyant
Posted by Dushiyant on July 06, 2009 at 11:39 PM PDT #
I have a web service generated by adopting 'Top Down Approach' and it follows SOAP/HTTP transport. Now I have to use SOAP/TCP instead of SOAP/HTTP.
Please advise how to enable SOAP/TCP now with minimal changes.
Thanks,
Charudatt
Posted by Charudatt on August 10, 2009 at 04:55 AM PDT #
Charudatt,
Please ask your question at users@metro.dev.java.net for a broader audience.
Posted by Arun Gupta on August 11, 2009 at 10:21 PM PDT #