Accessing generic type information at runtime

08.01.09

A common misconception about generics in Java 5 is that you can't access them at runtime. What you can't find out at runtime is which generic type is associated with an instance of an object. However you can use reflection to look at which types have been staticly associated with a member of a class. public class GenericsTest extends TestCase {...







RSS

XStream 1.1.2 released. Java 5 Enums, JavaBeans, field aliasing, StAX, and more...

08.01.09

New features: Java 5 Enum support. JavaBeanConverter for serialization using getters and setters. Aliasing of fields. StAX integration, with namespaces. Improved support on JDK 1.3 and IBM JDK. Changelog: http://xstream.codehaus.org/changes.html Full download: http://dist.codehaus.org/xstream/distributions/xstream-1.1.2.zip Jar only:...

RSS

VB.Net is the bestest

08.01.09

I was happily coding away in VB.Net today (grrr) when I noticed a little weirdity in the intellisense popup. Documentation says: The NotOverridable modifier defines a method of a base class that cannot be overridden in derived classes. All methods are NotOverridable unless marked with the Overridable modifier. You can use the NotOverridable...

RSS

Configuring a JXTA Peer in Spring

08.01.09

The new net.jxta.platform.NetworkConfigurator class provides a clean and straightforward way to configure an instance of the JXTA platform without a UI. It can be used programmatically (see the main() method for an example of stand-alone use) or—because it is a Java Bean—declaratively deployed inside containers like Spring. Read the...

RSS

Consumer-Driven Contracts

08.01.09

Updated web site: While I was in the UK earlier this year, I chatted with Ian Robinson about some experiences with service evolution and contracts that his team worked with on a recent client engagement. His point is that we have to think differently about interfaces and contracts in order to handle evolution in the worlds of Service Oriented...

RSS

Box sponsorowany

Usługi zwi±zane z szeroko rozumian± reklam± w internecie pozycjonowanie , tworzenie stron www, tworzenie sklepów, indentyfikacja wizualna.


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 146 bytes) in /home/gpihoseo/domains/mkssiemianowice.pl/public_html/linkxlinki.php on line 4