Tuesday Jul 15, 2008

Grails and web service development with Metro - little update

I've seen several comments where people had issues using the Metro plugin for Grails framework. I fixed the problems and updated installation instructions a bit, so if you use the latest plugin release (1.0.1), you shall be fine. I also updated the plugin to comply with Grails 1.0.3. Check it out at:
https://jax-ws-commons.dev.java.net/grails/

Thursday Jun 19, 2008

Mr. Groovy at Prague Sun site

Yesterday (Wed18th), thanks to the ServerSide symposium happening in Prague, we had a chance to chat with Guillaume Laforge, the Groovy guy.

Guillaume visited the Prague's Sun site, where he gave a presentation on Groovy success stories, to describe where and how the Groovy is used and how it helps in development/production environments, then we had a chance to chat and ask some questions.






Technorati Profile

Wednesday Jun 18, 2008

Grails and web service development with Metro

I searched through my blog entries, and realized that I somehow forgot to blog about the Metro Plugin for Grails framework I introduced in the beginning of this year. So, this is an attempt to do a (late) little advertising.

If you use Grails, you are certainly aware of it's plugin system. I decided to wrote a little Metro plugin which enables you to expose your Groovy/Grails classes as Metro web services in a simple and easy way using natural Grails commands, such as

grails create-service

and natural Metro annotations, such as @WebService, like this:

import javax.jws.\*
@WebService(targetNamespace="http://com.calculator")
class CalculatorService {
@WebMethod
def int add(int i, int j) {
return i+j;
}
@WebMethod
def multiply(int i, int j) {
return i\*j;
}
}

Those are the only things you need to do to develop web services with Grails after installing the plugin. You can find exact installation/how to use instructions at plugin website. Currently I host the plugin as a subproject of JAX-WS Commons project, but am working on making sure it is hosted at Grails plugin site as well.

Btw, I recently found also these instructions on how to use the Metro Grails plugin to develop contract-first (WSDL first) web services, which gives exactly the areas where I planned to improve the plugin in. So in future, the instructions might get even more simple.

Wednesday May 14, 2008

GlassFish v2 plugin for Grails Framework

The GlassFish v2 plugin for Grails is out! See the screenshot from update tool:

 

 You can find more information about this integration, as well as integration of GlassFish with other scripting languages at GlassFish scripting pages, or in the setup instructions.
 

 


Tuesday May 06, 2008

Grails plugin for GlassFish v3 TP2 available

Recently I've been looking at Grails distribution, altogether with Groovy language of course. Couple of days ago, aligned with GlassFish v3 TP2 release, we published Grails package to GlassFish's update center. If you are interested in Grails, see also some other recent additions, like Metro support for Grails framework.

[Read More]
About

The views expressed on this [blog; Web site] are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today
Bookmarks