The Source for Java Technology Collaboration
User: Password:



Jonathan Bruce's Blog

J2SE Archives


Why sign a jar?

Posted by jonbruce on November 08, 2005 at 11:57 AM | Permalink | Comments (8)

I was recently asked, why would you ever need to sign a jar? What advantage does it give me?

I would like to put this question to the Java.net community: have you seen a need beyond allowing your applications to run with Java WebStart, or perhaps within the confines of an Applet.

Endorsing jars allow youto over-ride classes, and is something I have seen used in the Java Web Services Developer Pack, however the reasons to endorse a jar might often be quite different to why one might sign a jar.

So over to you... I am really interested to hear about used of signed jars that I may not be aware of...



Persistence Stew: Hibernate, JDO, EJB 3.0 and Oracle Toplink

Posted by jonbruce on September 28, 2005 at 07:52 AM | Permalink | Comments (2)

Our friends at JavaLobby were very gracious in working with me to produce an excellent online presentation on how the best-of-class JDBC drivers is the only choice for anyone considering Java Object/Relational persistence mechanisms. This is an important consideration for anyone dipping their toes into the murky waters of O/R persistence development.


    Javalobby.org - Sun Java, JSP and J2EE technology programming forums, software downloads, jobs and tutorials

At the conclusion of the presentation, I invite you to talk to me about your thoughts on this presentation. You can find me email, IM or Skype handle on this page.

PS - I should also thank Mike Keith, the Oracle co-spec lead of JSR-220 for his guidance on configuring Oracle's EJB 3.0 implementation.



We're coming to see you...

Posted by jonbruce on August 06, 2005 at 06:58 AM | Permalink | Comments (0)

Wondering where ODBC, ADO.NET Futures, XQuery and XQJ Futures and of course JDBC Futures are headed? DataDirect's Design Previews may just be the thing for you…

Every year, my company DataDirect Technologies does a six city Design Preview tour where we have a chance to talk about the direction of our numerous product lines, get your feedback and give you an opportunity to meet the top people behind our products.

This year is no different and through out September we are bringing our road show to the following cities

  • Durham, NC 14th September, The Solution Center
  • Washington DC 20th September, Tyson's Corner Marriot
  • New York, NY 21st September, Marriot Marquis (Time Square)
  • Boston, MA 22nd September, Sheraton, Boston Hotel
  • Santa Clara, CA 28th September, Westin Santa Clara
  • Irvine (Costa Mesa), CA 29th September, South Coast Plaza Westin
We will be covering our full range products (ODBC, ADO.NET, XQuery and JDBC) and this year, introducing a new topic: Open Source Databases and giving you an insight as to their readiness for your most critical applications.

Want more details? There is a full agenda posted here

Want to attend? We have a registration page posted below that you'll need to fill out. We'll send you additional details, directions to the hotel once you've successfully registered.



From JDBC to XQuery

Posted by jonbruce on December 17, 2004 at 11:30 AM | Permalink | Comments (1)

This will be my last JDBC blog on Java.net. I am moving to a new position on the East Coast to head up Technology Evangalism for XQuery for Progress Software (PRGS).

I am happy to report that JDBC 4.0 is excellent shape and it will be guided towards it's Early Draft Review and future JCP milestones by Lance Andersen and others in Sun. I'd like to thank everyone who has taken the trouble to read my BLOG, and make some excellent contributions to JDBC and it's future specifications.

One of the advantages of the excellent new open processes instituted by Sun include the milestone source and binary builds of J2SE 6.0 (Mustang), the J2EE SDK Java.net project and others. I'll be continuing to make contributions where possible in many J2EE and Java projects.

I'll likely be moving my BLOG also - I'll post again with the URL shortly.

Until next time...

JDBC 4.0 Expert Meeting

Posted by jonbruce on October 24, 2004 at 02:54 PM | Permalink | Comments (0)

As my time allows, I will be blogging on some of the proposals that we are particularily interested to get feedback to give those watching this JSR a snap-shot of our progress.

So watch out for future blogs on JDBC Ease-of-Development, XML and SQL:2003 alignment, Connection management and other topics over the next few weeks.

Until next time...

JSR-114 & J2SE 5.0 (Tiger) Released!

Posted by jonbruce on October 01, 2004 at 03:28 PM | Permalink | Comments (3)

Today the culmination of nearly 3 years of work bore fruit with the release of J2SE 5.0 GA, our production ready release of the next generation Java platform. Graham Hamilton announced the GA release in his blog early this morning.

Readers of my blog have seen me talk about JDBC RowSet Implementations in my previous blog entries, so I won't delve into technical details here. The main announcement today is that everything you used before, our JDBC RowSet Tutorial provided as a co-bundle of the Java Web Services Pack 1.4, and to all our customers who have provided us with excellent feedback through out the life of JSR-114, you can now find this in the Java platform.

The JSR-114 specification team, made up of industry experts from Oracle, BEA, IBM, DataDirect Technologies and many others all participated in the specification effort deserve our thanks for their tireless efforts by providing feedback to the specification to make a significant contribution to the platform. The Sun team which included both the specification, implementation and TCK team are equally proud to see efforts our now forming an integral part of the platform! Check out these packages...

... and of course we have provided a set of reference implementations that are ready use and included in the platform located in accessible in the com.sun.rowset packages.

You can still grab a copy of our JDBC RowSet Tutorial written by long time JDBC author, Maydene Fisher and as always we want your feedback. You can email jsr-114-comments@jcp.org, post a question on the JDBC Forum or just post a comment below.

JDBC RowSet Implementations 1.0.1 - Maintenance Release

Posted by jonbruce on July 16, 2004 at 08:13 AM | Permalink | Comments (0)

Just quick BLOG today, as I am about to head to Ventura, CA for a weekend of sailing around the Channel Islands. We have just released our first Maintenance Release of JDBC RowSet Implementations. We will shortly also be updating our JDBC RowSet Co-Bundle for JWSDP 1.4 to match this release - so watch this space for more details.

You can grab your copy at:

Don't forget - send us your comments and feedback to rowset-interest@sun.com

Until next time...

JDBC 4.0 @ JavaOne - Opportunity to give additional feedback...

Posted by jonbruce on July 02, 2004 at 12:35 PM | Permalink | Comments (1)

Both John Goodson and I were very impressed by how many people attended our JDBC 4.0 - The Next Generation API session at this year's JavaOne. I think I stopped counting at the 1100 mark!

Without exception, we had an excellent set of questions this year and equally was very impressed with all the feedback and of course the enthusiam from many attendess who seemed excited by the upcoming content of JDBC 4.0. So I want to harness the power of the Java.Net weblog portal and capture everybody's feedback. Please use the feedback tool below to send us your questions or comments.

As a quick reminder of the major themes of this talks we talked about the following

  • JDBC Ease-of-Developement - Introducing a set of new API's and leveraging annotations and generics to improve SQL data access from the Java Platform.
  • SQL:2003 - Defining how to handle XML with the JDBC API
  • Connection Enhancements - Allowing tagging of connections
  • Conenction and Statement Pool Enhancements - Connection Striping
  • LOB Enhancements - Ability to create and close LOB objects
  • Other features - ROWID, Date & Timestamp performance improvements, and SQL State mappings for Exception handling.
I will be taking these concerns and driving them through the expert group process. When we reach our first specification milesone (EDR), you have a chance to see how this will all fit together. Naturally, at this stage you have an opportunity to send additional feedback.

Over the next few weeks, I will be posting additional BLOGs to get a measure of the developers communities feeling on various API proposals that are on-going in JDBC 4.0 API.

Until next time, here are a few links on other BLOGs that have referenced JDBC 4.0 at JavaOne:



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.

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