Skip to Content »
online discount medstore
advair diskus for sale
buy advair diskus without prescription
allegra for sale
buy allegra without prescription
aristocort for sale
buy aristocort without prescription
astelin for sale
buy astelin without prescription
atarax for sale
buy atarax without prescription
benadryl for sale
buy benadryl without prescription
buy clarinex without prescription
clarinex for sale
buy claritin without prescription
claritin for sale
buy flonase without prescription
flonase for sale
buy ventolin without prescription
ventolin for sale
amoxil for sale
buy amoxil without prescription
augmentin for sale
buy augmentin without prescription
bactrim for sale
buy bactrim without prescription
biaxin for sale
buy biaxin without prescription
buy cipro without prescription
cipro for sale
buy cleocin without prescription
cleocin for sale
buy dexone without prescription
dexone for sale
buy flagyl without prescription
flagyl for sale
buy levaquin without prescription
levaquin for sale
buy omnicef without prescription
omnicef for sale
amaryl for sale
buy amaryl without prescription
buy cozaar without prescription
cozaar for sale
buy diabecon without prescription
diabecon for sale
buy glucophage without prescription
glucophage for sale
buy glucotrol without prescription
glucotrol for sale
buy glucovance without prescription
glucovance for sale
buy micronase without prescription
micronase for sale
buy prandin without prescription
prandin for sale
buy precose without prescription
precose for sale
buy cialis professional without prescription
cialis professional for sale
buy cialis soft without prescription
cialis soft for sale
buy cialis super active without prescription
cialis super active for sale
buy cialis without prescription
cialis for sale
buy levitra without prescription
levitra for sale
buy viagra professional without prescription
viagra professional for sale
buy viagra soft without prescription
viagra soft for sale
buy viagra super active without prescription
viagra super active for sale
buy viagra super force without prescription
viagra super force for sale
buy viagra without prescription
viagra for sale
buy celebrex without prescription
celebrex for sale
buy colcrys without prescription
colcrys for sale
buy feldene without prescription
feldene for sale
buy imitrex without prescription
imitrex for sale
buy inderal without prescription
inderal for sale
buy indocin without prescription
indocin for sale
buy naprosyn without prescription
naprosyn for sale
buy pletal without prescription
pletal for sale
buy robaxin without prescription
robaxin for sale
buy voltaren without prescription
voltaren for sale

GWT XDoclet

  • September 9th, 2006
  • 12:56 am

Having used Google Web Toolkit to build an application, I found out that I had to write a good portion of code, which might as well be generated automatically. I then decided to mess around with XDoclet a little to see if it was possible to make a new module. It was, and now you can use it too.

Download

xdoclet-gwt-module-0.5.jar
xdoclet-gwt-module-0.4.jar
xdoclet-gwt-module-0.3.jar
xdoclet-gwt-module-0.2.jar
xdoclet-gwt-module-0.1.jar

Changelog

0.5: Added support for @gwt.typeArgs in service methods.

0.4: Added support for setting ServiceFactory prefix (set prefix attribute in servicefactory tag in build.xml), @gwt.style and @gwt.script in EntryPoint classes. See this post for more information.

0.3: Added support for file upload, added @gwt.inherits tag instead of inherits parameter in @gwt.module. This means that it’s possible to inherit from multiple modules.

Documentation

Basically, it can generate service interfaces, async services interface, module definitions (.xml.gwt), and a basic web.xml file. Finally, it can create a service factory for creating new Async-objects.

Service interfaces
When creating a remote service, just annotate the class like this:
[code]
package dk.contix.gwt.service;

/**
* @gwt.interface service=”dk.contix.gwt.shared.RemoteService” path=”/remoteService”
*/
public class RemoteServiceImpl implements RemoteService {

/**
* @gwt.serviceMethod
*/
public String getStuff(String what) {
// code here
}
}
[/code]

This will create the interface dk.contix.gwt.shared.RemoteService containing all methods which are annotated with @gwt.serviceMethod. It will also generate the async interface in dk.contix.gwt.shared.RemoteServiceAsync

Modules
To generate module definitions (.gwt.xml files), annotate the EntryPoint classes, like this:
[code]
package dk.contix.gwt.client;

/**
* @gwt.module package=”dk.contix.gwt” include=”client,shared”
*/
public class Client implements EntryPint {
// code here
}
[/code]

This will generate a file in dk/contix/gwt calles Client.gwt.xml. The file will contain the entry-point declaration, all remote servlets, and additional source paths (those specified in the include parameter).

ServiceFactory
If a service factory is generated, a class with static methods for creating instances of the Async interfaces will be created. The factory class will automatically detect url prefixes (if the application is deployed in another context than ROOT).

Generating the files
Create a build.xml file for Ant, if you don’t already have one. Include the following target:

[code]












[/code]

Finally, place xdoclet-gwt-module-0.2.jar in lib/ so that it becomes a part of the classpath. xdoclet-*.jar and xjavadoc-*.jar is also required. They can be downloaded from xdoclet.sourceforge.net.

Bootstrapping
When a new remote service is created, there’s no interface to implement. I work around this simply by annotating the service implementation, generating the code, and then adding the implements declaration.

Inheritance
If a module inherits another, this can be specified too, like this:
[code]
/**
* @gwt.inherits name=”dk.contix.gwt.BaseModule”
* @gwt.inherits name=”com.google.gwt.user.User”
*/
public class Module implements EntryPoint {

}
[/code]

File Uploads
The XDoclet module supports code generation for file upload support. The generated code includes a factory class for FormPanels, GWT module xml configuration and web.xml configuration. To use, add one or more @gwt.upload annotations to client classes which need upload capabilities:

[code]
package dk.contix.gwt.client;

/**
* @gwt.upload path=”/upload” servlet=”dk.contix.gwt.service.FileUpload”
* @gwt.upload path=”/jpegUpload” servlet=”dk.contix.gwt.service.FileUpload”
*/
public class UploadPanel extends Composite {
public UploadPanel() {
VerticalPanel p = new VerticalPanel();
final FormPanel fp1 = UploadFactory.createUpload();
fp1.setWidget(p);
fp1.addFormHandler(…);

final FormPanel fp2 = UploadFactory.createJpegUpload();
fp2.setWidget(p);

}
}
[/code]

To generate the factory, a line needs to be added to the ant build target in the gwtdoclet tag:
[code]









[/code]

The upload servlet isn’t generated, so you need to implement it yourself. Search for implementations in the GWT group.

typeArgs
Add @gwt.typeArgs to service methods to tell the GWT compiler which types are contained in a collection:

[code]
/**
* @gwt.serviceMethod
* @gwt.typeArgs dk.contix.Test
*/
public List getObjects() {
return new ArrayList();
}
[/code]

Don’t include <> in the annotation as you would do when using GWT directly.

29,841 People had this to say...

Gravatar

Rest assured that our booking fees for our tools definitely would reflect this objective.”I got a couple of text messages about it, so I’m not going to sit hereand lie and say I didn’t hear about it,” Murphy said of the criticism hereceived.However, City Hall can be a great place to talk to kids about the local lawmakers, while showing them the courts and politicians of the city. Where e?ch month y?u will be charged for ? product t??t you wont want ?r need. Obviously, you want some control.

Gravatar

Prevent the overshoes in the cool destination to dried out needless to say avoiding this tough sunshine. This may enable you to recover faster and quicker, enabling you to exercise over a daily basis.. Find free articles in our dofollow article directory, get free website content and submit your own articles for free. We still have a great relationship with our addition builder and would happily recommend him to anyone looking for a great home-building experience.

Gravatar

In testing the functionality of the outlet, voltage tester is necessary.00 for a two year pattern of false credit reporting. Author Resource:-Can you find digimon masters hack tool? Click here to know more about free hack. DHA’s effect lasts for approximately a week, lightening gradually as the skin is exfoliated.What the Fisher case teaches is that major banks like to collect the fees from mortgage servicing but do not want to put any actual money into customer service or straightening out problems.
Cheap Jerseys http://www.cheap-wholesalenfljerseys.us.com/

Gravatar

“It makes me happy that he’s giving me anopportunity to show what I can bring to the table here.When any new supplement ?? released t??r? wi?? ??w?ys be tho?? w?o wont b?l???e t?? hype and w?l? just t?ink t??t ?t ?s y?t anot??r scam reg?rd?e?? ?f w?? h?? g??en it t???r positive testimonial. Besides that, an individual can in addition sign on to the all kinds of other content rich sites like the blogs, the educational discussion boards along with websites that help an individual with every single kind of information on the subject and the way to take advantage the options.Concentrate on making your customers happy. Your job is to pull in business towards the company.
Wholesale Jerseys Online http://www.jerseyschina.us.com/

Gravatar

com/Category: AdviceKeywords: Questions To Ask A Contractor,Hiring A Contractor,How To Hire A ContractorMariners Excited About Xavier Averys Speed – RealGM WiretapThe Seattle Mariners are excited about the speed Xavier Avery can bring to their lineup.For women cheap ugg boots are available in each shade to be able to hold every one of uggs outlet all of them with a bunch of their wardrobe.com/Category: AdviceKeywords: Questions To Ask A Contractor,Hiring A Contractor,How To Hire A ContractorMariners Excited About Xavier Averys Speed – RealGM WiretapThe Seattle Mariners are excited about the speed Xavier Avery can bring to their lineup. With that being said, the desire to get fit is a lot more mainstream as well as at the same time can really feel overwhelming. Better to have someone else sort and purge so that when it’s time for me to address the problems at hand, I am able to do all of it at once and cross the job off my list.
Cheap Jerseys Wholesale http://www.wholesalenfljerseys-china.us.com/

Gravatar

An individual can get help from these and then you will have the opportunity to recognize how, and also precisely what allow you to can acquire for the very best results. A San Bernardino, California jury returned a verdict to the plaintiffs for over $800,000.When shopping for fake tanning products, point out how long you want to be seen with a darker skin tone. Such as this, Right for you much more effortless and you might own additional decisions.UGG boots will certainly recuperate the authentic form since yo placed on them in an extended time.
Cheap NFL Jerseys Discount http://www.cheapjerseysdiscount.us.com/

Gravatar

Find out up front how the builder deals with change, how she will estimate the cost, and other specifics about her process.Read more about Discussion On Appliance Repair Rancho Cucamonga, CA. It can actually be a relaxing experience (as long as you agree beforehand that you are leaving all of the fish at the store!)The next time you are looking for a rainy day activity, put the slickers and goulashes on and go fishing at the aquarium!7. You start with the oldest and proceed.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly.
Wholesale Jerseys Free Shipping http://www.cheapnfljerseyschina-wholesale.us.com/

Gravatar

Find out up front how the builder deals with change, how she will estimate the cost, and other specifics about her process.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly. Make space for family, friends, and personal time to yourself. Additionally, not all of them are capable of giving your skin a golden brown shade that looks lovely and natural, just like a suntan.
Cheap Jerseys Wholesale http://www.cheapoutletnfljerseys.us.com/

Gravatar

Such as this, Right for you much more effortless and you might own additional decisions.Would you like me to be available as a reference? Setting an expectation up front that you would be willing to be a reference and to allow the builder to show your home to prospective clients can help smooth the road for your project and have your builder focus on keeping you happy.6. Real uggs are sensible footwear for all seasonTo convey Ugg boots are one of the most favored design sneakers influences during the past Decade seriously isn t an exaggeration. Mackey is a working mother of three, balancing a full time career while taking an active role in her children\s lives.
Wholesale NFL Jerseys Free Shipping http://www.cheap-wholesalenfljerseys.com/

Gravatar

Having high cholesterol is bad f?r ??ur cardiovascular system ?nd wi?l put ??u at ? higher risk ?f suffering from a heart attack or ? stroke.AQUARIUM.Also, make sure to bring snacks, water and a camera!4.A lot of times family outings end up with the children in tears and you wishing you were in bed, with the covers pulled up and a pillow over your head.Check your local playhouse to see if anything is coming up in your neighborhood.

Gravatar

You have many shopping and service choices.Nonetheless, even delegating somebody to open up the mail can be quite a huge time saver.When everybody knows that will cleanup UGG boot styles with the distinctive store bills money and additionally moment. Resetting the appliance will solve the problem if this is the case.A design of musical gear personifying the Vienna Philharmonic Orchestra, as nicely as the text Wiener Philharmoniker (“Vienna Philharmonic”), can be noticed on the flip side of the coin.

Gravatar

You can find all sorts of fake tanning products these days.AQUARIUM.This starts with smiling, read the studies.When shopping for fake tanning products, point out how long you want to be seen with a darker skin tone.Murphy received criticism from the New York media for his decision to leave the club.

Gravatar

Recent studies reported that at least 38 mortgage servicers had been sued for charging illegal fees, forcing homeowners to buy needless insurance, illegal collection practices, confusing customers about the federal loan modification program, and foreclosing on homeowners with pending loan modification applications. Just because someone is an experienced carpenter doesn\t mean he\s worked with inlaid hardwood floors or elaborate staircases. However, take note that tanners being sold on the market use many other ingredients aside from this chemical. His firm specializes in consumer protection litigation including debt collection abuse.www.
Cheap Jerseys China http://www.cheapjerseystowholesale.com/

Gravatar

She has an advanced degree in engineering and over twenty years making technology decisions for fortune 500 companies.While I delegate all of that email stuff to her, I do not want to pay her just to read junk mail every single day either.CITY HALL.If y?u want to be safe th?n ?ou ?h?u?d find one t??t u?es onl? 100% natural ingredients. The manufacturer provides for a user manual for each of the appliances.
Cheap NFL Jerseys Wholesale http://www.cheapsportsjerseysnfl.com/

Gravatar

The aid for these schools is sought from any various places. Get rid of the UGG ” booties ” exterior work surface while using sponge or cloth together with the blend of your compartment till this is thoroughly clean. Author Resource:-Can you find digimon masters hack tool? Click here to know more about free hack. That’s where the phrase ‘work on your business as opposed to in your business’ appears.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly.
Wholesale Jerseys http://www.wholesalejerseyscheapnfl.us.com/

Gravatar

African Mango side effectsSupplements t?at ??nta?n t?? genuine fruit wil? b? safe t? use, y?u need to b? aware though th?t ?ften diet pills wil? c?nt??n a stimulant t?at m?y ?au?? unwanted side effects.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly. This is completed so by celebrating their birthdays by holding big celebrations for buddies and relatives. Just one term of caution though,North Face Vest Sale frequently make particular the fact on the web store you’re buying from is genuinely an associate for the Australian Sheepskin Association.James Malinchak Don’t Sweat The Small Stuff Delegate ItJames Malinchak Don’t Sweat The Small Stuff Delegate ItSeptember 29, 2013 Author: Matthew Maxwell Posted in MarketingHaving been in business for myself for many years, I have come to understand that the most essential thing I have done for myself would be to delegate the small stuff.
Cheap Authentic Jerseys http://www.cheapjerseysnflwholesale.us.com/

Gravatar

That’s how you guard your precious time. Normal gold bullion coins are South African Krugerrand also American Gold Eagle, but my popular is the Austrian Vienna Philharmonic. This can give you a clear picture of that which you have done and the work that you have remaining to do. These uggs not only provide comfort however are very adaptable simultaneously. The appropriate repair for the boot styles may well very last your shoes’ lifetime comfortably.
Cheap Jerseys From China http://www.cheap-wholesalenfljerseys.us.com/

Gravatar

Avery was acquired from the Baltimore Orioles last summer in the Michael Morse trade.In order to recover fast whenever you work out, you should work out at low intensity pretty slowly. Also, make sure that you study widely via FAQs alongside other online resources that provide a person with gaming tools.It is sometimes complicated to aside these individuals. Where e?ch month y?u will be charged for ? product t??t you wont want ?r need.
Cheap NFL Jerseys China Wholesale http://www.cheapnfljerseyswholesale-china.com/

Gravatar

They aren’t just popular among the youthful generation only but adults also enjoy actively playing them a lot.”Ventura, who deflects praise, has earned the respect of the coaching staff as well.You can get a tour of the museum on headsets or just walk around together and point out what you like (or do not like) about the artwork or artifacts that you encounter.FARMERS MARKET. It can be used in diagnosing the problem as well as in repairing the device.
Cheap NFL Jerseys China http://www.cheapjerseysnflwholesale.us.com/

Gravatar

Probably, it is best to get rid of this dust by means of suede brush, that make certainly to take out the many track marks to the footwear. That’s how you guard your precious time. The matter of the obverse is the good organ in the Golden Hall in Vienna’s Musikverein, the concert hall of the Vienna Philharmonic Orchestra. You have to manage your time as well as your circumstances.There’s no denying how realistic the color produced by DHA is.
Wholesale Jerseys http://www.wholesalejerseysfive.com/

Gravatar

Find out up front how the builder deals with change, how she will estimate the cost, and other specifics about her process. This may enable you to recover faster and quicker, enabling you to exercise over a daily basis.Small Business Ideas For The Stay At Home ParentSmall Business Ideas For The Stay At Home ParentFebruary 17, 2014 Author: Valentino Crawford Posted in BusinessWhile the idea of a home business is appealing, many people aren’t exactly sure of what it entails. Some are even accused of having advised homeowners to not make mortgage payments to increase their chances of qualifying for modifications, and then foreclosing anyway.According to Frank Chin, an occasion supervisor, with direct communication and Net media back links, about 80 % of the items brought to the occasion are marketed.
Cheap NFL Jerseys China Wholesale http://www.cheapnfljerseys-wholesale.com/

Gravatar

Prince William the bald one has got engaged, everyone else has got broke and no one cares
arcteryx hong kong outlet http://www.arcteryxstore.online

Gravatar

With the current problems in the mortgage market, banks and the federal governments have reached consensus to help homeowners, but often the mortgage servicers, having the ultimate power to modify a mortgage, refuse to ?play ball?. These are violations of laws protecting homeowners in foreclosure and laws that prevent credit reporting and debt collection abuses.com/C. This is completed so by celebrating their birthdays by holding big celebrations for buddies and relatives. These uggs not only provide comfort however are very adaptable simultaneously.

Gravatar

Under this program, mortgage servicers will earn fees to help homeowners facing foreclosure reduce their monthly mortgage payments. Make sure that the contractor you choose has references of projects that have some of the same requirements as your job. You have to manage your time as well as your circumstances. She has an advanced degree in engineering and over twenty years making technology decisions for fortune 500 companies.Do your kids know what government is?Probably not.

Gravatar

Additionally, if you have too much time wasters in your life or your worker’s life, then cut them out, too.5 percent required us to threaten a lawsuit to get those final minor tasks done. The efficacy of such chemical makes it the number one choice of creators of fake tanning products. To be on a celebration ground, it is crucial that you play the game with simply friends that you could fully trust.com/Welcome to arrive at this Ugg Boot styles store! Price cut together with Least costly Uggs are sales concerning your web store! Choose the best ugg retail store, these might connect with your full inner aspiration.

Want your say?

* Required fields. Your e-mail address will not be published on this site

You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>