The Source for Java Technology Collaboration
User: Password:



Jonathan Bruce's Blog

June 2004 Archives


JDBC RowSet Co-Bundle for JWSDP 1.4

Posted by jonbruce on June 28, 2004 at 11:04 PM | Permalink | Comments (3)

In this instance, we have put together a set of tutorials and samples, and also have structured this co-bundles so you can immediately over-lay use RowSet in any of the three target containers Sun's App Server 8.0 PE (this the same as the free J2EE 1.4 SDK), Sun's Web Server 6.1, and Tomcat 5.0.

To use the co-bundle, and benefit the samples and tutorials we have provided, you will first need to grab the...

... and download a copy of the co-bundle

As a co-bundle to the JWSDP 1.4, the JDBC RowSet package must be overlaid on top of the JWSDP 1.4 installation directory. Typically most developers just download the zip file and expand it it in the JWSDP 1.4 directory.

How do I use the JDBC RowSet Co-bundle ?

Once you have overlaid the install bundle, you can quickly start using the JDBC RowSet co-bundle. Take a look at the jdbc-rowset directory. You'll find three directories; however for starters point your browser to jdbc-rowset/doc/index.html file and you'll be able to navigate from there.

Samples

You'll find a set of samples that cover usage of JDBC RowSet Implementations for the five standard reference definitions defined in JSR-114: JdbcRowSet, CachedRowSet, WebRowSet, FilteredRowSet and JoinRowSet. All of these samples use the reference implementation of the API providered in the rowset.jar in the lib directory.

Specification and Reference Implementation Docs

You'll also find a copy of Specification and Javadoc for both the JSR-114 JDBC RowSet Implementations Specification and the Reference Implementation respectively.

Tutorial

Our tutorial provides a step-by-step guide that builds an application extending the original JDBC Tutorial sample and uses each JDBC RowSet Implementation to demonstrate it's usage.

WebRowSet Sample

Last, and most certainly not least we provide a real life application usage of WebRowSet with SAAJ. You can deploy this application into one or more of the target J2EE containers described above.

JavaOne 2004 -- Day one

Posted by jonbruce on June 28, 2004 at 01:46 PM | Permalink | Comments (0)

My immediate impression of JavaOne 2004 is certainly positive and I have already met some very interesting folks who are using Java innotive ways. Jonathan Schwartz gave an excellent key note this morning and emphasized that the majority of innovation happens elsewhere. More and more I am finding this statement to ring very true.

We have been very busy in the JDBC Engineering team over the past 12 months and I am really looking forward to hearing all your feedback and experiences with the tehcnology we have worked on, including JDBC RowSet Implementations and most importantly this will be our first opportunity to give an overview of JDBC 4.0 and our ease-of-development proposals. Graham Hamilton gave a quick outline on our proposals at today's keynote.

We have our JDBC Performance BOF and our JDBC 4.0 Session to get through yet -- I'll share some thoughts on these over the next few days...

Exception chaining in JDBC

Posted by jonbruce on June 15, 2004 at 09:55 AM | Permalink | Comments (11)

Our thoughts on introducing exception chaining are centered on much of the feedback we received from the JDBC RowSet Implementations 1.0 release, both from public forums such as ServerSide and on feedback email aliases.

By defining a group of methods that allow a Throwable instance to be set at the SQLException level, this allow related exceptions definition introduced in JDBC RowSets to also provide chaining support. Overloading the current set of constructors should achieve chaining functionality and compliment the four other currently defined constructors.

    public SQLException(Throwable cause);
    
    public SQLException(String reason, Throwable cause);
    
    public SQLException(String reason, String sqlState, Throwable cause);
    
Intertwining this with a an additional proposal underway in JDBC 4.0 which is looking to provide a limited set of exceptions that relate directly to SQL State definitions should provide an improved standard API so developers can more easily port the applications between different SQL data sources.

I guess I am writing with my Specification Lead hat on here, but I also want to be sure we correctly gauge the needs of the community, so I encourage you all to add your comments below. Over the next few weeks I also intend to write about how JDBC 4.0 is progressing and gauge the communities position as we progress through the Java Community Process.

JDBC 4.0, and JDBC Performance at JavaOne 2004

Posted by jonbruce on June 08, 2004 at 11:43 AM | Permalink | Comments (8)

I look forward to seeing many of you at JavaOne 2004, especially at our two talks that will cover JDBC 4.0 and how to maximize how the best performance with your JDBC enabled applications. Our session and BOF should give you an excellent opportunity to learn about the bleeding edge proposals and learn how to maximize your productivity with JDBC. A long time JDBC expert, and a good friend John Goodson from DataDirect Technologies will be joining me at these talks.

In this my first BLOG entry, I wanted to muse quickly on the challenges that face the JDBC developers. As an API that has been around since the early Java days, we are commited to bringing the wealth of language improvements introduced in J2SE 1.5 (Tiger) to benefit all developers. Exciting features such as Generics and Annotations finally give us the tools to take some of the drugery out of day to day JDBC applications.

I have also added the ability to post comments to this posting, so if there are things you'd like to hear about, particularily at our BOF, post a message below or drop me an email.

Until next time...





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds