Welcome to Aspire Knowledge Central (AKC)
Home Public Library Author Content
OSCON 2005 Notes
Dates
June 15, 2005: Book your travel early to avoid higher rates closer to the event.
July 7, 2005: Hotel discount cut-off; book your hotel reservation before this date to get the discounted rate (Tutorial speakers will be booked by O'Reilly,unless you prefer otherwise).
July 1, 2005: Handout materials for tutorials and sessions due in electronic format.
What is jwsdp?
Java webservices developer pack. It is at 1.5 level currently. Most of the xml technologies are delivered in this form. These are early acess releases.
What is FCS
First customer ship releases when the specs are finalized. Probably one step above from the EA releases.
Can I use jwsdp in production systems?
This is confusing. It says the technologies are EA or FCS, but also says Prime Time Ready. These technologies are slated for Java or a product, but not there yet.
What jwsdp plugin?
This is more confusing. This is a subset of jwsdp that is part of sun products and supported by Sun.
Key features of jwsdp 1.5
j2se 5.0 support (what does it mean)
web services security
STAX
Jaxb release in jwsdp 1.5
1.0.4 FCS
SJSXP
Sun java streaming api for xml parser. Built on xerces code base.
SAAJ
Soap with attachements api for java. It is there in jwsdp 1.5
What is the pre-requisite for running jwsdp 1.5?
What do I need to run jwsdp 1.5?
History of the tutorial
History of the tutorial.
See here for a progression of the jwsdp through various releases and what is available in each release.
Progression of jaxb 1.0.x release
Read
What do you gain by going to jaxb 2.0
Read
Basic approach to marshalling
Use reflection to marshal the class in to xml. primitive types become attributes. Object types become children.
Castor mapping
For each bean an xml document lays out the mapping architecture. What goes here is very similar to what goes into the metadata of jaxb 2.0 xml.
Mapping is an object
The mapping is abstracted out to be a java entity which gets loaded by xml. This also may mean one can define the mapping directly in java as well for compact representation.
Additional facilities for cyclical references
Uses identity and reference
Heading towards java persistence
A leading proponent of JDO
Primary features
xml centric
round trip xml fidelity
XML schema enquiries in java
XmlCursor: A navigation across your data
Schema object model
Available since 2003
A major goal of xmlbeans
that you will be able to get to the XML at whatever level is necessary - and not have to resort to multple tools to do this.
Approach
1. Compile the schema
2. Use the generated java classes to parse the document
3. Populate a java class via factories similar to jaxb
4. Make it available as xml
Story of XMLObject
Like a seek you can retrieve portions of an xml tree and not the whole tree. You also have dual ways of accessing data
Supports xquery directly
You can move a cursor via these xpath like queries
Notes on XSDs for XmlSpy
Put togehter some notes on creating xsds with xmlspy
Connect the reflection sample code to generating XSDs
Connect the reflection sample code with some suggestions on how to generate the sample XSDs and XMLs
See if I can implement the generic java transform for AKC
See if I can implement the generic java classes for akc
Hotel information
Red Lion
1021 N.E. Grand Avenue
1.800.343.1822
125144
What are the list of xml packages in j2ee 1.4 or 1.5
List the xml packages that are part of j2ee 1.4 or 5. Contrast this with jwsdp
Primary xml packages of j2ee 1.4
parsers - xml parsing
registry - jaxr
rpc - jaxrpc and soap
soap
transform - xslt
jwsdp 1.6 xml packages
Read 1.6 apis
j2ee packages
parsers
registry
rpc
soap
transform
Additional packages
bind - jaxb
crypto - xml cryptography
datatype
namespace
transform.stream
validation
xpath
Can I utilize xsds in jaxb 2.0
XSDs are optional in jaxb 2.x. But hand coding java classes can be pain. Is there a way to generate java classes from xsds
Also is there a way to generate the java classes from the XML?