Thursday, February 01, 2007

 

Tuning Derby and more

O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java

==================================================================
Inside Port 25: The Open Source Software Lab at Microsoft

Get help and guidance on running Windows, Linux, UNIX or Open Source
Software in a mixed environment. In partnership with O’Reilly, Inside Port
25 is an objective perspective on the research, insight & bloggers of the
Open Source Software Lab at Microsoft.

Learn more at:
http://www.oreilly.com/go/onlamp-port25

==================================================================
Greetings...

Derby, also known as Java DB, is now included by default in JDK 6. For
certain types of database needs, you might well find it convenient to have
an all-Java, embeddable database always available to you. But if you're
not already deeply invested in one of the typical enterprise databases, if
you're doing simple JDBC work, you might not be fully aware of what helps
and hurts database access in Java applications. This week, we have some
tips on how to get the most out of Derby.

No, there's no magic "go faster" system property for Derby--in all
likelihood, you'll need to look to make performance improvements in your
code. In fact, in "Tuning Derby," Dejan Bosanac says that playing with
page and cache sizes is not the first step in improving Derby Performance.
"Playing with these parameters can help you improve performance to some
degree, but usually the bigger problem lies in your application and
database design, so you should focus on these issues first and leave Derby
properties for the end."

http://www.onjava.com/pub/a/onjava/2007/01/31/tuning-derby.html

If you're writing portlets, adherence to the spec is of paramount
importance, not just for portability between portlet containers, but also
for reasons of interoperability, as explained by Drew Varner in the
dev2dev article "Guidelines for Writing JSR-168 Portlets." "Exposing
JSR-168 Portlets via Web Services for Remote Portlets (WSRP) producers is
easier when portlets adhere to the JSR-168 specification. WSRP provides a
standard to federate portlet content via Web services. JSR-168 and WSRP
1.0 portlet capabilities are tightly coupled. JSR-168 to WSRP portlet
bridges utilize JSR-168's URL rewriting APIs. This article illustrates
best practices for developing JSR-168 portlets for portability."

http://dev2dev.bea.com/pub/a/2006/12/writing-jsr-168-portlets.html

In this week's feature article from java.net, Biswajit Sarkar shows off
techniques for "Implementing Copy and Paste for the Java ME TextBox."
"The text-handling classes in ME do not provide direct support for copy
and paste, but it is not very difficult to build up such a capability. In
this article we look at one approach to implementing this feature."

http://today.java.net/pub/a/today/2007/01/18/implementing-copy-and-paste-for-java-me-textbox.html

Recent O'Reilly Network weblogs of interest to Java developers:

Robert Cooper - Fear and Loathing in Typeland
http://www.oreillynet.com/onjava/blog/2007/01/fear_and_loathing_in_typeland.html

Paul Browne - Dear Bruce Eckel : Hybrid Java, Google Web Toolkit and Adobe Flex
http://www.oreillynet.com/onjava/blog/2007/01/dear_bruce_eckel_hybrid_java_g.html

Chris Adamson - Stomping home with your tinkertoys
http://www.oreillynet.com/onjava/blog/2007/01/stomping_home.html

Dejan Bosanac - Singletons and lazy loading
http://www.oreillynet.com/onjava/blog/2007/01/singletons_and_lazy_loading.html

Check out more O'Reilly Network Java weblogs at:
<http://www.oreillynet.com/onjava/blog/>

A final note this week. This is my last ONJava newsletter, as we welcome
a new ONJava editor, David Bock. You may know David as a Java Champion
and a speaker on the No Fluff Just Stuff tour. As part of an internal
realignment, ONJava and other sites from the O'Reilly Network are now
going to work more closely with the so-called "animal books" group, while
java.net and dev2dev move to a "corporate solutions" group. With a new
focus, new team, and increased support, I think ONJava will be a great
site under David's watchful eye. Anyways, I'm signing off in order to let
David introduce himself below. Thanks to everyone who's followed the site
for the last few years, and best wishes to David as he takes the reins.

Chris Adamson, former Editor
ONJava.com

And a note from our new editor, I'm happy to be accepting this
responsibility from Chris, and I have some big shoes to fill. I have been
a reader on OnJava.com for years, and I'm proud to be associated with the
production of such high quality content. I am going to be on the lookout
for some great articles to publish, so if you are interested in
contributing, you can contact me at dbock@oreilly.com.

Please join us again next week.

David Bock, Editor
ONJava.com

==================================================================
Fast. Affordable. GoToMeeting Web Conferencing.

Get all three with GoToMeeting™, the Web-based service with screen-sharing
technology so multiple PC users can meet online anytime. Present, demo
software and train from anywhere with Internet access. Plus, you can hold unlimited
meetings for one flat rate.

Get a free 30-day trial now. http://www.oreilly.com/go/go2mtg_javsecure

==================================================================

*** Java News and Weblogs ***

java.net Weblogs
http://weblogs.java.net

O'Reilly Network Java Weblogs
http://www.oreillynet.com/pub/q/weblog_s?x-subject=3

Other Java News (channel -- LANG: JAVA)
http://www.oreillynet.com/meerkat/index.php

Java Cookbook Recipe of the Day
http://www.onjava.com/onjava/javacook/solution.csp?day=1

Java Events
http://www.onjava.com/onjava/events

==================================================================

==================================================================

*** Other Related O'Reilly Network sites ***

O'Reilly Network
http://www.oreillynet.com

XML.com
http://xml.com

ONLamp.com
http://onlamp.com

O'Reilly Media
http://www.oreilly.com

O'Reilly Java
http://java.oreilly.com

***

ONJava.com Affiliates

Servlets.com
http://www.servlets.com

JDOM.org
http://www.jdom.org

------------------------------------------------------------------
Visit our Sponsored Developer Resource Pages and learn about cool
stuff from our sponsors!

Downloads - Free Training - Webinars - Updates

Inside Lightroom: http://digitalmedia.oreilly.com/lightroom

------------------------------------------------------------------
Interested in sponsoring the ONJava.com newsletter? Please email us
at advertising@oreilly.com for rate and availability information.
Thank you!
------------------------------------------------------------------
To change your newsletter subscription options, please visit
http://www.oreillynet.com/cs/nl/home

For assistance, email help@oreillynet.com

O'Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
(707) 827-7000
------------------------------------------------------------------


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?