netbeans – Geek 2.0 https://www.stormacq.com Some not-so random thoughts about this small IT World Mon, 04 Aug 2014 19:04:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.1 NetBeans 7.0 and JAX-RPC Web Services https://www.stormacq.com/netbeans-7-0-and-jax-rpc-web-service/ https://www.stormacq.com/netbeans-7-0-and-jax-rpc-web-service/#comments Tue, 10 May 2011 19:51:55 +0000 https://www.stormacq.com/?p=435 Sometimes, you encounter old WSDL service definitions, based on RPC style SOAP instead of the newer Document based litteral encoding.

To discover wether a WSDL is using RPC or literal encoding, check the “style” parameter of the “binding” element, such as

<binding name="A_WebServiceBinding" type="tns:A_WebServiceRPC">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>

In Java, RPC based SOAP is implemented by JAX-RPC, a quite old API developed for Java 1.4.  As it is older than JAXB, it even implements its own XML to Java object mapping.

When SOAP 1.2 was released, the Java platform switched to the newer JAX-WS implementation to support it along with other stuffs, namely HTTP Binding (aka XML over HTTP without SOAP), a new data mapping model and support for WS-I basic profile 1.1

You can read this IBM article for a very good, while concise, description of JAX WS vs JAX RPC.

In NetBeans 7.0, only JAX WS is provided out of the box.  When you encounter older WSDL, based on RPC encoding, you must manually install JAX-RPC.  However this plugin is not provided in the default plugin repository anymore.  You will need to add another plugin repository :

  • Select “Tools” in the menu, then “Plugins”, then the “Settings” tab.
  • Add a Repository with the name you choose and this URL : http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz

  • Then go back to “Available Plugins” and type RPC in the search box, you should find JAX-RPC in the list of proposed plugins.
  • Follow the instructions to download and install the plugins.

Et voilà, you are now ready to create JAX RPC based Java clients by choosing the “File” menu, then “New File” then choose “Web Service Clients” in the “Web Services” section.

Enjoy !

]]>
https://www.stormacq.com/netbeans-7-0-and-jax-rpc-web-service/feed/ 34
NetBeans 7.0 is available https://www.stormacq.com/431/ https://www.stormacq.com/431/#respond Wed, 20 Apr 2011 20:34:52 +0000 https://www.stormacq.com/?p=431 NetBeans 7.0 is available for download.

The major new feature of this release is the support for the upcoming Java SE 7 specification, in particular project Coin (diamond operator, String in switch, multi catch for exceptions …).

Others new / improved features is the support for Maven 3, Git etc … and the support for GlassFish Application Server 3.1, Oracle Weblogic Server and Oracle database (simplified connection wizard, guided installation to JDBC driver, editing and deployment of stored procedures)

Download is free for everyone, release notes are full of details.

Enjoy !

]]>
https://www.stormacq.com/431/feed/ 0
Coherence Plugin for NetBeans IDE https://www.stormacq.com/coherence-plugin-for-netbeans-ide/ https://www.stormacq.com/coherence-plugin-for-netbeans-ide/#respond Sat, 11 Dec 2010 07:30:27 +0000 https://www.stormacq.com/?p=414 While working with Coherence, we might find convenient to start, stop and query Coherence cluster node directly from the IDE.

My colleague Andrew wrote a plugin to allow this.  In addition, the plugin takes care of generating the tedious boilerplate code required for object serialization.

Good Job Andrew !

You will have more details and a short documentation on Andrew’s blog.  And you can download the plugin from NetBeans’ plugin portal.

]]>
https://www.stormacq.com/coherence-plugin-for-netbeans-ide/feed/ 0
NetBeans 6.9 is released https://www.stormacq.com/netbeans-6-9-is-released/ https://www.stormacq.com/netbeans-6-9-is-released/#comments Wed, 16 Jun 2010 05:00:54 +0000 https://www.stormacq.com/?p=303 Java Communities (and Oracle development teams) have been kept busy these days.  After the release of GlassFish Open Source Edition 3.0.1 yesterday, the NetBeans team announces the availability of NetBeans 6.9.

Major new features include

With a download footprint of 52 Mb (28Mb for the PHP only edition), NetBeans remains the most efficient general purpose IDE.

]]>
https://www.stormacq.com/netbeans-6-9-is-released/feed/ 1
Happy Birthday NetBeans https://www.stormacq.com/happy-birthday-netbeans/ https://www.stormacq.com/happy-birthday-netbeans/#respond Mon, 20 Oct 2008 11:30:58 +0000 https://www.stormacq.com/?p=194

This week, NetBeans is turning 10 years old.  Join me in congratulating our team and all persons involved on that project during the last decade.

I still can remember this day when I first downloaded NetBeans 1.0 beta.  At that time I was using a Windows based Java text editor, Kawa … and Symantec and Microsoft where the masters of the Java IDE world with Symantec Cafe and Visual J++.  For a full review of the Java IDE 10 years ago, read this article.

You can read the original NetBeans press release on lwn.net.

]]>
https://www.stormacq.com/happy-birthday-netbeans/feed/ 0