Archive
Representing a service both as RESTful and SOAP based using Apache CXF
Apache CXF is an open-source Web Services framework supporting both JAX-WS and JAX-RS. This means that we could create a service and offer it both as RESTful Web Service and traditional SOAP based Web Service. With CXF when you get the WSDL file (we will see how) or WADL (REST equivalent of WSDL) you can pass the link to the ones who are to write a client application and they can use it to configure the plugin and the required code is generated. With Maven things become even simpler. Read more…
Files for RESTful webservices with JAX-RS
I promised in my previous blog post about my seminar on RESTful webservices with JAX-RS that I would write a new post with links to the PowerPoint slides and code examples. So here it is! You have to install the Android SDK to be able to test the Android App. For the service you can use mvn jetty:run to start the server.
Seminar on JAX-RS and RESTful services
Last Wednesday I held a seminar on RESTful webservices with JAX-RS. There were about 10 persons present and it went very well I think! At least I got much out of it. I always feel that you learn a lot by teaching others and doing all the preparations and investigations required before the actual gathering.
Javascript libraries using JAX-RS implementations
Modern JavaScript libraries are very powerful and efficient. Most of the UI features that one needs in an Enterprise Application are offered by these libraries. This is the faster and easier way to develop applications without reinventing the wheel (with an expense of the fact that we don’t learn Javascript but we learn to use a library). We are talking about jQuery, Ext-JS, GWT/SmartGWT (output is DHTML), Dojo and some more. All these libraries have a lot of fan following and it is easy to get help, also there is a lot of documentation on web. You will find a lot of resources on web about the pros and cons of using the pure Javascript libraries, the point here is to use only Javascript library on client with RESTful Webservices. Why? Read more…
En resa i webservices
Nyligen så har jag experimenterat kring ramverk för webservices i Java-sfären med fokus på prestanda och enkelhet. I java-sfären finns mängder med olika ramverk, stora som små, som förenklar utvecklandet och den initiala konfigurationen för att skapa webservices. Som med alla ramverk så är det svårt att utropa något ramverk som bäst utan olika ramverk lämpar sig olika bra för olika situationer. Kort och gott så har jag koncentrerat mig på ramverk som implementerar JAX-WS eller JAX-RS. Read more…