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

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

Why Spring?

08.01.09

Mark Petrovic asks: "Can you say a bit about why you are using Spring in this overall context?"—referring to my earlier post on configuring JXTA with Spring. I suppose the reason is that over the last few years I have written several servers, mostly experimental prototypes. I quickly got tired of writing and maintaining the large amounts...

RSS

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

SiteMesh and Content Management @ O'Reilly OpenSource Conference

08.01.09

I'm talking at the O'Reilly OpenSource Conference (OSCON) - Wednesday Aug 3, Portland, Oregon. Come and say hi. A problem faced in every web application is how to separate style from content. SiteMesh is a framework that provides an elegant solution to this, resulting in a clean separation that is straightforward to work with, complements other...

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 71 bytes) in /home/gpihoseo/domains/mkssiemianowice.pl/public_html/linkxlinki.php on line 4