|
|
||
Kirill Grouchnikov's BlogCommunity: Java Web Services and XML ArchivesNew version of JAXB 2.1 Eclipse pluginPosted by kirillcool on September 05, 2006 at 08:39 PM | Permalink | Comments (3)Not a lot of you may be aware of this, but i'm a community lead in the Web Services & XML community right here on java.net. Mainly i'm responsible for updating the main page with the relevant news / weblogs / technical articles, but i also have a JAXB Workshop project that provides a collection of JAXB 2.0 related tools. This project has been largely dormant during the past year except the Eclipse and IDEA plugins. The Eclipse plugin provides a wizard for selecting the input schema, location for the generated files and the package name. After all the parameters have been selected, it invokes the XJC generator and that's pretty much it. One of the things that have been missing from this wizard - an option to cancel it in the middle, which is quite a common feature for Eclipse wizards. I've filed the relevant issue on the JAXB tracker about six months ago, and once Kohsuke announced the beginning of version 2.1, all i needed was to give him a little push (read the comments on the linked entry). After taking the daily build and making changes to 4 (!!!) lines of code in the Eclipse plugin, now it's cancellable! Thanks to Kohsuke for adding this feature in JAXB 2.1 and to Eclipse engineers for making plugin development in Eclipse such a pleasurable experience. The second feature that has been added is logging to Eclipse's own console (instead of to the So, if you need to generate classes from your schema definition, you can either write a little script, or head over here, download the Eclipse plugin 1.1, unzip it under Eclipse 3.1.0+ installation and follow the instructions in the tutorial.
Working with JAXB 2.0 - JavaOne BoFPosted by kirillcool on June 19, 2005 at 03:50 AM | Permalink | Comments (0)The Java Web Services Developer Pack community on java.net groups a number of inter-related Java projects in the Web Services and XML area at Java.Net that either implement the core Java WS and XML APIs or that take advantage of them to provide additional functionality to the developer community. These projects will be presented by Eduardo, Kohsuke and me during the The Web Services Stack from Java.Net BOF (number 9646) that will take place in Moscone Center/Hall E 133 on Wednesday (June 29) at 19:30. I will shortly present the JAXB Workshop project that has recently seen its Release 1.1. The notable tools in this project include: XSD scrambler that strips all (possible commercially valuable) information from a set of input schemas at the same time preserving the structure. You can see the before and the after screenshots: ![]() XML colorer that allows XML viewers and editors to retrieve exact location information on all XML artifacts. The granularity of the returned information is much finer than standard XML or StAX events. For example, the StartElement StAX event is translated into a series of locations : starting bracket, element name, attribute name / equal sign / quotation marks for each attribute, ending bracket. ![]() Graphical front-end for XJC generator that allows viewing and editing the input schemas and viewing the generated Java classes from the JAXB 2.0 generator. | ||
|
|