Server Side graphics
Start with a few techniques for generating images on the server-side and pushing them out to the client.
Joshua Marinacci has written a feature article for java.net on Generating Images with JSPs and Servlets. He begins with a simple pie chart example. A JSP is used to parse the incoming request and pull out the information for the size of the slice and its background color. The pie chart is drawn into a buffered image and then written to a file, in this case as a PNG. Joshua also shows examples of displaying text using FontRenderContext and for generating thumbnail sketches of images.
In today's Weblogs , Eduardo Pelegri-Llopart says that it's important that communities are Getting to know each other. In a virtual community there is no chance to bump into each other in the halls. Eduardo encourages you to post your people page in the People Wiki and otherwise introduce yourself.
Ron Hitchens links to Robert Cringely's article which is subtitled "The Only Way to Beat Microsoft is by Ignoring Microsoft." In Cringely on Microsoft Ron summarizes that
" Cringely suggests that the only way to beat Microsoft is to ignore them. If you allow Microsoft to define the rules of the game, they'll always win. Cringely contends that Sun is falling into the same trap with the recently announced Sun-Microsoft settlement."
Also in Java Today, obviously you can not initialize variables in the constructor of an anonymous class. An anonymous class can't have a constructor - what would you call it? In Static and instance initializer blocks you will see how to initialize static variables with static initializer blocks and instance variables in anonymous inner classes with instance initializer blocks.
JavaWorld has published another intro to HttpUnit called Test Web applications with HttpUnit. Balazs Fejes writes "using HttpUnit will not replace manual testing, it is nevertheless a great way to create automated tests programmatically, with much more freedom than the typical visual test scripting environments. While tools recording browser activity tend to record every insignificant detail, with big and hard-to-modify recorded scripts, using HttpUnit will allow a developer to create readable, concise, and cleanly structured code, which can focus on validating the important details."
In today's java.net News Headlines
- Apache XML Security 1.1
- IBM Delivers SOA Enablers
- RIFE v0.7.1
- SDE for NetBeans 3.6 - Version 1.1
- BIND 9.3
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using
our news submission
form. All submissions go through an editorial review by news director
Steve Mallet before being posted to the site. You can also subscribe to
News RSS feed.
Current and upcoming
- April 23-25 New England Software Symposium
- April 28
Sun Java Studio Enterprise Moderated Chat
- April 30 - May 2 Twin Cities Software Symposium
- May 6-8 The ServerSide Java Symposium
- May 8 Kwarup do DFJUG
- May 10-14 JAX 2004
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e"> events submission
form. All submissions go through an editorial review before being
posted to the site.
Archives and Subscriptions: This blog is delivered weekdays as the
Today RSS feed. All java.net members can subscribe to the email
updates for the site at the href="https://java-net.dev.java.net/servlets/ProjectMailingListList">
java-net Mailing Lists page. You must be logged in to subscribe
to the javanet_Daily and javanet_Weekly lists. Also, once this page
is no longer featured as the front page of
java.net it will be archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.