| Home » Eclipse Projects » Technology Project and PMC » JAXB
 Goto Forum:| 
| JAXB [message #54062] | Thu, 15 May 2003 22:08  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: viraf_bankwalla.yahoo.com 
 Hi,
 
 I was on Sun's site and came across the JAXB specs.  Is there any plan on
 providing JAXB support to this or another eclipse project?
 
 I would like to be able to define schemas, use JAXB to create the supporting
 classes, and an XML editor to create documents that conform to the schema.
 
 Thanks.
 
 - viraf
 |  |  |  |  |  |  |  |  | 
| Re: JAXB [message #54181 is a reply to message #54155] | Fri, 16 May 2003 09:23   |  | 
| Eclipse User  |  |  |  |  | Originally posted by: merks.ca.ibm.com 
 --------------90C792FD57E6556423AB7754
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Viraf,
 
 Yes, EMF can be used standalone. On your classpath you will need the common.jar,
 ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
 org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively.  XSD
 itself is based on Ecore and it runs standalone too.
 
 EMF produces high quality model code that you can modify and subsequently
 regenerate because it has a merging generator.  EMF also generates a complete
 application that includes reusable platform-neutral view support and an
 Eclipse-based editor.  EMF may not handle some schemas that JAXB can handle,
 although the reverse may also be true.  I'd suggest trying both approaches and
 being your own judge.  Here's a tutorial to describe the steps:
 
 http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html
 
 Viraf Bankwalla wrote:
 
 > Thanks - I'll check out EMF.
 >
 > Can EMF be used standalone (i.e. outside the eclipse environment)?  What
 > additional baggage do I need to carry if I use it outside eclipse?  What are
 > the pros/cons of using EMF over JAXB?
 >
 > - viraf
 >
 > "Luiz Marcelo" <lmap@canada.com> wrote in message
 > news:ba1tgn$ld5$1@rogue.oti.com...
 > > Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 > everything
 > > you are asking for and much more.
 > >
 > > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > > news:ba1h7e$dth$1@rogue.oti.com...
 > > > Hi,
 > > >
 > > > I was on Sun's site and came across the JAXB specs.  Is there any plan
 > on
 > > > providing JAXB support to this or another eclipse project?
 > > >
 > > > I would like to be able to define schemas, use JAXB to create the
 > > supporting
 > > > classes, and an XML editor to create documents that conform to the
 > schema.
 > > >
 > > > Thanks.
 > > >
 > > > - viraf
 > > >
 > > >
 > >
 > >
 
 --------------90C792FD57E6556423AB7754
 Content-Type: text/html; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
 <html>
 Viraf,
 <p>Yes, EMF can be used standalone. On your classpath you will need the
 common.jar, ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
 org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively. 
 XSD itself is based on Ecore and it runs standalone too.
 <p>EMF produces high quality model code that you can modify and subsequently
 regenerate because it has a merging generator.  EMF also generates
 a complete application that includes reusable platform-neutral view support
 and an Eclipse-based editor.  EMF may not handle some schemas that
 JAXB can handle, although the reverse may also be true.  I'd suggest
 trying both approaches and being your own judge.  Here's a tutorial
 to describe the steps:
 <blockquote> <a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html</a></blockquote>
 
 <p>Viraf Bankwalla wrote:
 <blockquote TYPE=CITE>Thanks - I'll check out EMF.
 <p>Can EMF be used standalone (i.e. outside the eclipse environment)? 
 What
 <br>additional baggage do I need to carry if I use it outside eclipse? 
 What are
 <br>the pros/cons of using EMF over JAXB?
 <p>- viraf
 <p>"Luiz Marcelo" <lmap@canada.com> wrote in message
 <br><a href="news:ba1tgn$ld5$1@rogue.oti.com">news:ba1tgn$ld5$1@rogue.oti.com</a>...
 <br>> Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 <br>everything
 <br>> you are asking for and much more.
 <br>>
 <br>> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 <br>> <a href="news:ba1h7e$dth$1@rogue.oti.com">news:ba1h7e$dth$1@rogue.oti.com</a>...
 <br>> > Hi,
 <br>> >
 <br>> > I was on Sun's site and came across the JAXB specs.  Is there
 any plan
 <br>on
 <br>> > providing JAXB support to this or another eclipse project?
 <br>> >
 <br>> > I would like to be able to define schemas, use JAXB to create the
 <br>> supporting
 <br>> > classes, and an XML editor to create documents that conform to
 the
 <br>schema.
 <br>> >
 <br>> > Thanks.
 <br>> >
 <br>> > - viraf
 <br>> >
 <br>> >
 <br>>
 <br>></blockquote>
 </html>
 
 --------------90C792FD57E6556423AB7754--
 |  |  |  |  |  |  |  |  |  |  | 
| Re: JAXB [message #56419 is a reply to message #56258] | Mon, 28 July 2003 01:03  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: bob.objfac.com 
 Another possibility would be to write a plugin that adds a project nature to
 Java projects that adds a build whatever that automatically runs xjc on xsd
 files when they are changed. I'm not sure this is the result you or a user
 would want, but it is possible to arrange the build order so xjc runs before
 the java compiler.
 
 Bob
 
 "Trevor Williams" <twilliams66@netscape.net> wrote in message
 news:bfvio3$9j9$1@eclipse.org...
 > No need to apologise, any info is appreciated!  I was hoping for
 > something a little more seamless but Ant should do the trick well
 > enough.  Thanks much,
 > Trevor
 >
 > Ed Merks wrote:
 > > Trevor,
 > >
 > > I expect that using Ant there would be a way to do this, but I'm not
 really
 > > familiar enough with setting up build rules within Eclipse to be able to
 provide
 > > details.  Sorry.
 > >
 > >
 > > Trevor Williams wrote:
 > >
 > >
 > >>Can we do a quick hypothetical? :)
 > >>Suppose you're new to Eclipse and you have an existing code base that
 > >>uses JAXB to (un)marshall xml documents and object instances.  Is there
 > >>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
 > >>Thanks in advance,
 > >>Trevor Williams
 > >>
 > >>Luiz Marcelo wrote:
 > >>
 > >>
 > >>>Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 everything
 > >>>you are asking for and much more.
 > >>>
 > >>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > >>>news:ba1h7e$dth$1@rogue.oti.com...
 > >>>
 > >>>
 > >>>>Hi,
 > >>>>
 > >>>>I was on Sun's site and came across the JAXB specs.  Is there any plan
 on
 > >>>>providing JAXB support to this or another eclipse project?
 > >>>>
 > >>>>I would like to be able to define schemas, use JAXB to create the
 > >>>
 > >>>supporting
 > >>>
 > >>>
 > >>>>classes, and an XML editor to create documents that conform to the
 schema.
 > >>>>
 > >>>>Thanks.
 > >>>>
 > >>>>- viraf
 > >>>>
 > >>>>
 > >>>
 > >>>
 > >>>
 > >
 >
 |  |  |  |  | 
| Re: JAXB [message #593722 is a reply to message #54062] | Fri, 16 May 2003 01:37  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: lmap.canada.com 
 Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't everything
 you are asking for and much more.
 
 "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 news:ba1h7e$dth$1@rogue.oti.com...
 > Hi,
 >
 > I was on Sun's site and came across the JAXB specs.  Is there any plan on
 > providing JAXB support to this or another eclipse project?
 >
 > I would like to be able to define schemas, use JAXB to create the
 supporting
 > classes, and an XML editor to create documents that conform to the schema.
 >
 > Thanks.
 >
 > - viraf
 >
 >
 |  |  |  |  | 
| Re: JAXB [message #593741 is a reply to message #54128] | Fri, 16 May 2003 08:17  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: viraf_bankwalla.yahoo.com 
 Thanks - I'll check out EMF.
 
 Can EMF be used standalone (i.e. outside the eclipse environment)?  What
 additional baggage do I need to carry if I use it outside eclipse?  What are
 the pros/cons of using EMF over JAXB?
 
 - viraf
 
 "Luiz Marcelo" <lmap@canada.com> wrote in message
 news:ba1tgn$ld5$1@rogue.oti.com...
 > Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 everything
 > you are asking for and much more.
 >
 > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > news:ba1h7e$dth$1@rogue.oti.com...
 > > Hi,
 > >
 > > I was on Sun's site and came across the JAXB specs.  Is there any plan
 on
 > > providing JAXB support to this or another eclipse project?
 > >
 > > I would like to be able to define schemas, use JAXB to create the
 > supporting
 > > classes, and an XML editor to create documents that conform to the
 schema.
 > >
 > > Thanks.
 > >
 > > - viraf
 > >
 > >
 >
 >
 |  |  |  |  | 
| Re: JAXB [message #593754 is a reply to message #54155] | Fri, 16 May 2003 09:23  |  | 
| Eclipse User  |  |  |  |  | --------------90C792FD57E6556423AB7754 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Viraf,
 
 Yes, EMF can be used standalone. On your classpath you will need the common.jar,
 ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
 org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively.  XSD
 itself is based on Ecore and it runs standalone too.
 
 EMF produces high quality model code that you can modify and subsequently
 regenerate because it has a merging generator.  EMF also generates a complete
 application that includes reusable platform-neutral view support and an
 Eclipse-based editor.  EMF may not handle some schemas that JAXB can handle,
 although the reverse may also be true.  I'd suggest trying both approaches and
 being your own judge.  Here's a tutorial to describe the steps:
 
 http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html
 
 Viraf Bankwalla wrote:
 
 > Thanks - I'll check out EMF.
 >
 > Can EMF be used standalone (i.e. outside the eclipse environment)?  What
 > additional baggage do I need to carry if I use it outside eclipse?  What are
 > the pros/cons of using EMF over JAXB?
 >
 > - viraf
 >
 > "Luiz Marcelo" <lmap@canada.com> wrote in message
 > news:ba1tgn$ld5$1@rogue.oti.com...
 > > Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 > everything
 > > you are asking for and much more.
 > >
 > > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > > news:ba1h7e$dth$1@rogue.oti.com...
 > > > Hi,
 > > >
 > > > I was on Sun's site and came across the JAXB specs.  Is there any plan
 > on
 > > > providing JAXB support to this or another eclipse project?
 > > >
 > > > I would like to be able to define schemas, use JAXB to create the
 > > supporting
 > > > classes, and an XML editor to create documents that conform to the
 > schema.
 > > >
 > > > Thanks.
 > > >
 > > > - viraf
 > > >
 > > >
 > >
 > >
 
 --------------90C792FD57E6556423AB7754
 Content-Type: text/html; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
 <html>
 Viraf,
 <p>Yes, EMF can be used standalone. On your classpath you will need the
 common.jar, ecore.jar, and ecore.xmi.jar from the org.eclipse.emf.common,
 org.eclipse.emf.ecore, and org.eclipse.emf.ecore.xmi plugins, respectively. 
 XSD itself is based on Ecore and it runs standalone too.
 <p>EMF produces high quality model code that you can modify and subsequently
 regenerate because it has a merging generator.  EMF also generates
 a complete application that includes reusable platform-neutral view support
 and an Eclipse-based editor.  EMF may not handle some schemas that
 JAXB can handle, although the reverse may also be true.  I'd suggest
 trying both approaches and being your own judge.  Here's a tutorial
 to describe the steps:
 <blockquote> <a href=" http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html"> http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E /emf-home/docs/xlibmod/xlibmod_main.html</a></blockquote>
 
 <p>Viraf Bankwalla wrote:
 <blockquote TYPE=CITE>Thanks - I'll check out EMF.
 <p>Can EMF be used standalone (i.e. outside the eclipse environment)? 
 What
 <br>additional baggage do I need to carry if I use it outside eclipse? 
 What are
 <br>the pros/cons of using EMF over JAXB?
 <p>- viraf
 <p>"Luiz Marcelo" <lmap@canada.com> wrote in message
 <br><a href="news:ba1tgn$ld5$1@rogue.oti.com">news:ba1tgn$ld5$1@rogue.oti.com</a>...
 <br>> Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 <br>everything
 <br>> you are asking for and much more.
 <br>>
 <br>> "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 <br>> <a href="news:ba1h7e$dth$1@rogue.oti.com">news:ba1h7e$dth$1@rogue.oti.com</a>...
 <br>> > Hi,
 <br>> >
 <br>> > I was on Sun's site and came across the JAXB specs.  Is there
 any plan
 <br>on
 <br>> > providing JAXB support to this or another eclipse project?
 <br>> >
 <br>> > I would like to be able to define schemas, use JAXB to create the
 <br>> supporting
 <br>> > classes, and an XML editor to create documents that conform to
 the
 <br>schema.
 <br>> >
 <br>> > Thanks.
 <br>> >
 <br>> > - viraf
 <br>> >
 <br>> >
 <br>>
 <br>></blockquote>
 </html>
 
 --------------90C792FD57E6556423AB7754--
 |  |  |  |  | 
| Re: JAXB [message #594590 is a reply to message #54128] | Thu, 24 July 2003 01:16  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: twilliams66.netscape.net 
 Can we do a quick hypothetical? :)
 Suppose you're new to Eclipse and you have an existing code base that
 uses JAXB to (un)marshall xml documents and object instances.  Is there
 a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
 Thanks in advance,
 Trevor Williams
 
 Luiz Marcelo wrote:
 
 > Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't everything
 > you are asking for and much more.
 >
 > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > news:ba1h7e$dth$1@rogue.oti.com...
 >
 >>Hi,
 >>
 >>I was on Sun's site and came across the JAXB specs.  Is there any plan on
 >>providing JAXB support to this or another eclipse project?
 >>
 >>I would like to be able to define schemas, use JAXB to create the
 >
 > supporting
 >
 >>classes, and an XML editor to create documents that conform to the schema.
 >>
 >>Thanks.
 >>
 >>- viraf
 >>
 >>
 >
 >
 >
 |  |  |  |  | 
| Re: JAXB [message #594600 is a reply to message #56080] | Wed, 23 July 2003 23:07  |  | 
| Eclipse User  |  |  |  |  | Trevor, 
 I expect that using Ant there would be a way to do this, but I'm not really
 familiar enough with setting up build rules within Eclipse to be able to provide
 details.  Sorry.
 
 
 Trevor Williams wrote:
 
 > Can we do a quick hypothetical? :)
 > Suppose you're new to Eclipse and you have an existing code base that
 > uses JAXB to (un)marshall xml documents and object instances.  Is there
 > a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
 > Thanks in advance,
 > Trevor Williams
 >
 > Luiz Marcelo wrote:
 >
 > > Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't everything
 > > you are asking for and much more.
 > >
 > > "Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > > news:ba1h7e$dth$1@rogue.oti.com...
 > >
 > >>Hi,
 > >>
 > >>I was on Sun's site and came across the JAXB specs.  Is there any plan on
 > >>providing JAXB support to this or another eclipse project?
 > >>
 > >>I would like to be able to define schemas, use JAXB to create the
 > >
 > > supporting
 > >
 > >>classes, and an XML editor to create documents that conform to the schema.
 > >>
 > >>Thanks.
 > >>
 > >>- viraf
 > >>
 > >>
 > >
 > >
 > >
 |  |  |  |  | 
| Re: JAXB [message #594662 is a reply to message #56108] | Sun, 27 July 2003 00:00  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: twilliams66.netscape.net 
 No need to apologise, any info is appreciated!  I was hoping for
 something a little more seamless but Ant should do the trick well
 enough.  Thanks much,
 Trevor
 
 Ed Merks wrote:
 > Trevor,
 >
 > I expect that using Ant there would be a way to do this, but I'm not really
 > familiar enough with setting up build rules within Eclipse to be able to provide
 > details.  Sorry.
 >
 >
 > Trevor Williams wrote:
 >
 >
 >>Can we do a quick hypothetical? :)
 >>Suppose you're new to Eclipse and you have an existing code base that
 >>uses JAXB to (un)marshall xml documents and object instances.  Is there
 >>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
 >>Thanks in advance,
 >>Trevor Williams
 >>
 >>Luiz Marcelo wrote:
 >>
 >>
 >>>Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't everything
 >>>you are asking for and much more.
 >>>
 >>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 >>>news:ba1h7e$dth$1@rogue.oti.com...
 >>>
 >>>
 >>>>Hi,
 >>>>
 >>>>I was on Sun's site and came across the JAXB specs.  Is there any plan on
 >>>>providing JAXB support to this or another eclipse project?
 >>>>
 >>>>I would like to be able to define schemas, use JAXB to create the
 >>>
 >>>supporting
 >>>
 >>>
 >>>>classes, and an XML editor to create documents that conform to the schema.
 >>>>
 >>>>Thanks.
 >>>>
 >>>>- viraf
 >>>>
 >>>>
 >>>
 >>>
 >>>
 >
 |  |  |  |  | 
| Re: JAXB [message #594700 is a reply to message #56258] | Mon, 28 July 2003 01:03  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: bob.objfac.com 
 Another possibility would be to write a plugin that adds a project nature to
 Java projects that adds a build whatever that automatically runs xjc on xsd
 files when they are changed. I'm not sure this is the result you or a user
 would want, but it is possible to arrange the build order so xjc runs before
 the java compiler.
 
 Bob
 
 "Trevor Williams" <twilliams66@netscape.net> wrote in message
 news:bfvio3$9j9$1@eclipse.org...
 > No need to apologise, any info is appreciated!  I was hoping for
 > something a little more seamless but Ant should do the trick well
 > enough.  Thanks much,
 > Trevor
 >
 > Ed Merks wrote:
 > > Trevor,
 > >
 > > I expect that using Ant there would be a way to do this, but I'm not
 really
 > > familiar enough with setting up build rules within Eclipse to be able to
 provide
 > > details.  Sorry.
 > >
 > >
 > > Trevor Williams wrote:
 > >
 > >
 > >>Can we do a quick hypothetical? :)
 > >>Suppose you're new to Eclipse and you have an existing code base that
 > >>uses JAXB to (un)marshall xml documents and object instances.  Is there
 > >>a way to have Eclipse invoke JAXB's xjc compiler on .xsd files?
 > >>Thanks in advance,
 > >>Trevor Williams
 > >>
 > >>Luiz Marcelo wrote:
 > >>
 > >>
 > >>>Check out www.eclipse.org/emf.  It is **not** JAXB but it doesn't
 everything
 > >>>you are asking for and much more.
 > >>>
 > >>>"Viraf Bankwalla" <viraf_bankwalla@yahoo.com> wrote in message
 > >>>news:ba1h7e$dth$1@rogue.oti.com...
 > >>>
 > >>>
 > >>>>Hi,
 > >>>>
 > >>>>I was on Sun's site and came across the JAXB specs.  Is there any plan
 on
 > >>>>providing JAXB support to this or another eclipse project?
 > >>>>
 > >>>>I would like to be able to define schemas, use JAXB to create the
 > >>>
 > >>>supporting
 > >>>
 > >>>
 > >>>>classes, and an XML editor to create documents that conform to the
 schema.
 > >>>>
 > >>>>Thanks.
 > >>>>
 > >>>>- viraf
 > >>>>
 > >>>>
 > >>>
 > >>>
 > >>>
 > >
 >
 |  |  |  | 
 
 
 Current Time: Fri Oct 31 01:01:03 EDT 2025 
 Powered by FUDForum . Page generated in 0.06823 seconds |