|
TODAY'S TOP SOA & WEBSERVICES LINKS
Feature
Java Feature — JDBC 4.0
It's been over three years since the JDBC Expert Group held its first meeting to gather requirements, requests, and pipe dreams for the JDBC 4.0 specification. In that meeting, we discussed a wide variety of topics, including performance enhancements, clarifications on the existing JDBC 3.0 specification, and Ease of Development features. Unbelievably, everything but the kitchen sink ended up making it into the release. In this article, we'll look at several key features that made the enhancement list for JDBC 4.0, and we'll discuss why those features are important.
Reader Feedback: Page 1 of 1
#1 |
Nice article and some good points.
setClientInfo()
---------------
Yes, these look useful. It should be noted that on the java client side you can determine the calling code/method by looking at the stack trace and this can be done automatically by the pool. This maybe available to diagnose problems for some.
Connection.isValid()
--------------------
I guess some pools are as dire as the 'Typical' one you describe but maybe isValid is less useful than it appears.
Specifically I would have hoped most pools would use a simple light query (e.g. select count(*) from dual) to test connections to make sure they are valid. Certainly I expect existing pools to detect dead connections and remove them individually (rather than flush the entire pool).
Perhaps isValid is better in that it is more standard and perhaps more performant than executing a simple query - but perhaps a query is better in that it is exercising the database as well. This after all, only has to be done on Connections that need to be checked for validity (when they have errored) or occassionally to check for Database down.
Q: Can you use isValid to check for the Database down event? Its not clear to me that this is included as a intended use of isValid? If isValid doesn't do this then are we not better using a simple light query so that we are also detecting database down events?
JDBC statement pooling
----------------------
Its nice to standardise the API to tune the statement pooling but this is of course possible right now. Pools can right now use a LRU PreparedStatement cache and provide tuning for it. Being LRU then the frequently used statements stay in the cache so your statement thats executed twice should not kick out the one executed 100 times.
RowId
-----
I am interested in JDBC4's RowId but I'm looking for more information on it. Specifically on what its intended use is? The example in the Spec 15.10.3 why would I use RowId instead of just binding the ID value? I have to know its the ID by the DML (the example sheds no light for me).
I am also interested to see which databases provide a 'Physical ROWID'. I know Oracle does but do any other Databases make such a Physical ROWID available?
I am interested in using Physical RowId from an ORM perspective.
Refer: http://www.avaje.org/rowid.html
|
YOUR FEEDBACK  | By Jeremy Geelan cautionyou wrote: I agree with that the biggest change is the breadth of the projects that are happening at Eclipse today converter ts |  | By SOA World Magazine News Desk Java Consultant wrote: Good Post...
Java Software Programmer.. |  | By RIA News Desk Java Consultant wrote: Nice Article....
Java Programmer... |  | By XML News Desk Java Consultant wrote: Good Post....
Java Consultant... |  | By Kal Ahmed Java Consultant wrote: Great Post......
Java Consultant..... |
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS Help Wanted: SYS-CON Media is looking for i-technology reporters, and journalists. Please apply to reporters(at)sys-con.com. We are also seeking online advertising sales representatives with proven track record. Please apply to careers(at)sys-con.com. |
|
SYS-CON FEATURED WHITEPAPERS  | A few years ago, a British newspaper speculated on what might be the Web equivalent of the Seven Won... | A round-up of the many themes and topics of interest to infrastructure architects, developers and IT... | SYS-CON Events announced today that the leading global SOA, Virtualization, Cloud Computing and Open... | Cloud Computing offers significant benefits over traditional solutions for deploying production syst... | Intel has just released Intel XML Software Suite 1.2. This latest release helps maximize XML perform... | SYS-CON Events announced today that the leading global SOA, Virtualization, Cloud Computing and Open... | The events of the second half of 2008, where established financial institutions vanished overnight, ... | Data services, contends Rob Steward, Vice President of Research and Development at DataDirect Techno... | XML end-to-end architectures are a natural follow-on to SOA: XML for the user interface, XML for dat... | How can security standards such as Open Authorization and Semantics be used to bind Cloud-based serv... | DataServices World 2008 West, being held November 20 in San Jose, California, at the 14th Internatio... | In this session, a panel of instructors will conduct a Data Quality, Data Access and Data Services W... | "With proper markup/logic separation, a POJO data model, and a refreshing lack of XML…" So begins ... | "Data services and rich Internet applications are improving the usability and efficiency of browser-... | Hadoop, an open source implementation of map/reduce, has garnered tremendous momentum in large scale... | Ken North will be giving a breakout session at SYS-CON's upcoming DataServices World 2008 West in wh... | The DataServices World conference in Silicon Valley provides an opportunity on November 20, 2008 to ... | The one thing that unifies the distributed computing style known as SOA, in most of its manifestatio... | Altova (http://www.altova.com), developers of XMLSpy, an industry leading XML editor, offers Microso... | Intel, a leader in silicon innovation, develops technologies, products and initiatives to continuall... |
|