The Artima Developer Community
Sponsored Link

Java Buzz Forum
Hardcoded Class Names

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Derek Kaczmarczyk

Posts: 135
Nickname: dkaz
Registered: Jul, 2003

Derek Kaczmarczyk is a Platform Architect for a large online e-commerce site
Hardcoded Class Names Posted: Sep 1, 2005 9:12 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Derek Kaczmarczyk.
Original Post: Hardcoded Class Names
Feed Title: S T R A Y neuron
Feed URL: http://www.strayneuron.com/mt/techindex.rdf
Feed Description: Java & Open Source musings by dkaz, a connoisseur of elegance through simplicity
Latest Java Buzz Posts
Latest Java Buzz Posts by Derek Kaczmarczyk
Latest Posts From S T R A Y neuron

Advertisement
Instead of hardcoding class names in your Java code (e.g. String clz = "com.foo.ReportFactory";), try generating it (e.g. String clz = ReportFactory.class.getName();) - it's a lot less brittle!...

Read: Hardcoded Class Names

Topic: WebWork 2: The sleeping giant Previous Topic   Next Topic Topic: Searching For "Search Engines"

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use