Skip to main content

Generic Examples Needed

Posted by daniel on January 13, 2005 at 7:22 AM PST

Help provide test cases

Eugene Kuleshov has asked for examples of projects which make
heavy use of generics. He has written about href="http://www.oreillynet.com/pub/a/onjava/2004/10/20/asm.html">
Using the ASM Toolkit for Bytecode Manipulation. He asks "We are
doing some testing for ASM 2.0 API and need to capture as many
variations of Java5 generics for our test cases. So, I was trying to
find some kind of list of projects that are heavily using generics."

If you have or know of a good example of a project on java.net or elsewhere, please post a link in the feedback to this blog. Thank you.


In today's Weblogs ,
Joshua Marinacci has hope for Java developers in his post href="http://weblogs.java.net/blog/joshy/archive/2005/01/apples_latest_e.html">
Apple's latest efforts are the triumph of software over hardware.
His thesis is that Apple's hardware isn't so special - that it's the
software that sets it apart.

Monika Krug has been active in the Mustang forums. She blogs on the
discussion on href="http://weblogs.java.net/blog/monika_krug/archive/2005/01/a_protectedpriv_1.html">
A "protected-private" keyword? " One of the features requested in
the Mustang forum was a modifier that would allow a member variable to
be inherited as if it were protected, but not to be accessed by the
other classes from the package. Here is how to achieve the same with
AspectJ."

Daniel Brookshier announces the href="http://weblogs.java.net/blog/turbogeek/archive/2005/01/project_graduat_1.html">
Project Graduation of ienjinia . " If you cut your teeth on an
Apple or similar computer and learned a bit of Java, you have all you
need to help tutor your kids Project IENJINIA has graduated from the
Global Education and Learning Community's incubator and is now in the
tools for teaching area of the GELC. Read on for more info on this
newly graduated project in the Global Education and Learning Community
(GELC)."


The
Planning JavaOne 2005
forum launches in today's href="http://forums.java.net/jive/index.jspa">
Forums. "What is it that makes you want to attend JavaOne?
What would you like to see there this year? What topics interest you?
What types of talks are the best?If you have an idea for a session you
would like to present yourself, please submit your proposal by January
31 at the Call for Papers page on the JavaOne site. Otherwise, please
let us know via the forum what types of talks others can put together
that would make the conference that much better for you."


In Also
in Java Today
,Pawel Kalczynsk has written a paper
illustrating href="http://www.jot.fm/issues/issue_2005_01/article5"> A Java
Implementation of the Branch and Bound Algorithm for the Traveling
Salesman Problem with asymmetric cost matrix. "The Traveling Salesman
Problem (TSP) is a graph theory problem of finding the shortest path a
salesman can take through each of n cities visiting each city only
once. This path is also referred to as the most efficient Hamiltonian
circuit." To understand the asymmetric version Pawel suggests you
"imagine a mailman who works in the mountains and must visit all his
customers in the shortest time. Each element of the cost matrix cij
represents the time it takes to get from home i to home j. Depending
on whether he goes uphill or downhill, the traveling time between the
two homes may be significantly different."

Nathan Tippy's
Introduction to Apache JAMES
shows you what the Java Apache Mail
Enterprise Server version 2.2.0 can do "out of the box". "The
spoolmanager represents the heart of the Email processing platform. It
is defined in the config.xml file and provides a mechanism for
defining business rules using Mailets, Matchers and processes. All new
Email will be spooled up and processed by the next available
spoolmanager thread. [..] Mailets are used to modify or act upon
Email messages. A Mailet is very similar to a Servlet. It has familiar
methods such as init, service and destroy which function in a similar
manner. [..] Matchers are used to filter or select specific Email
messages. A Matcher will be used to direct Emails to a specific
Mailet. Matchers are passed the entire Email message but should never
modify it."


In Projects and
Communities
, Take the beta
version
of the revised Sun Certified Programmer for the Java 2
Platform, Standard Edition 5.0 exam for $49 between January 13 and
February 13, 2005. Look for Sun exam 311-055.

In Choose your
XML binding framework wisely
, Kirill Grouchnikov builds on
previous posts to summarize and contrast the benefits of ten
frameworks.


In today's java.net
News Headlines
:

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 before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News
RSS feed.


Current and upcoming href="http://www.java.net/events"> Java Events :

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 href="http://today.java.net/pub/q/java_today_rss?x-ver=1.0">Java
Today RSS feed. 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.

Help provide test cases