TechRepublic : A ZDNet Tech Community

25 Resources for

david petersheim

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

Customize javadoc output with doclets
Did you know that the javadoc is a pluggable documentation tool? This means you can create your own class, or doclet, to perform any task, using your source code as an input. Find out how to create a doclet. While you probably know that the javadoc tool is...
Tags: David Petersheim, PRODUCTIVITY, doclet, Java Tips Newsletter, Class, Microsoft Development Tools, Programming Languages, Development Tools, Software Development, Software/Web Development
Technical articles 2005-08-12
Recreate prior work with source code control in Java
David Petersheim advocates using source code control when you need to recreate work. He offers details on these functions of source code control: concurrent updates, history, source code archives, history, and versioning. Recreating work from six months ago without some source code control can be quite difficult....
Tags: Java, David Petersheim, Programming languages, Development tools, source-code control, Java Tips Newsletter, Source Code, History, Subversion
Technical articles 2005-08-10
Consider your Java application framework options
You should consider using an existing application framework the next time you have to build an app that requires a GUI. Learn about some of your Java app framework options. The next time you have to build an application that requires a GUI, consider using an existing...
Tags: Java, David Petersheim, Construction, Programming languages, Java development tools, Java application, application framework, Java Tips Newsletter
Technical articles 2005-08-11
Calling wait, notify, and notifyAll within a non-synchronized method
Locks and monitors are important topics in multi-threaded programming. For instance, find out why if you need to call wait, notify, or notifyAll from within a non-synchronized method, you must first obtain a lock on the object's monitor. You may be used to seeing the wait, notify,...
Tags: notifyAll, LockTip, LongSupplier, David Petersheim, Java Tips Newsletter, Method, Monitor, Monitors & Displays, Development Tools, Hardware, Components, Software Development, Software/Web Development
Technical articles 2005-08-11
Maven: A project management solution for Java
Maven is a project management tool that takes Ant concepts several steps further. See why Maven's great features—including jar repositories and project site generation—make it an attractive project management solution for Java. Nontrivial software projects need build tools. In the Java world, there's no shortage of these tools,...
Tags: Java, Maven, Ant, Project Object Model, Tools & Techniques, David Petersheim, PRODUCTIVITY, Programming languages, project management, Java Tips Newsletter, Tool, Project Site Generation Goal, Strategy, It Operations, It service Management, Management
Technical articles 2005-08-11
Unleash the power of dynamic proxies in Java
Find out how dynamic proxies in Java work, and then learn how to create a proxy that implements a list of interfaces. Dynamic proxies have been part of Java since Java SE 1.3. Here's how the javadoc for the Proxy class defines it: "A dynamic proxy class...
Tags: Java, David Petersheim, proxy instance, proxy, runtime, Java Tips Newsletter, Class, Interface, Invocation Handler, Programming Languages, Corporate Communications, Software Development, Software/Web Development, Marketing
Technical articles 2005-08-11
Choose your own version of serialization in Java
When you attempt to recreate an object from serialized data, if the current class's version doesn't match the version number found in the serialized data, then an InvalidClassException will be thrown. Read this Java tip to discover how you can prevent this error. If you've ever used serialization in...
Tags: Java, David Petersheim, Programming languages, Java Tips Newsletter, Class, Corporate Communications, Software Development, Software/Web Development, Marketing
Technical articles 2005-08-11
Explore Java's static nested classes and inner classes
Learn the basics about Java's two types of nested classes: a static nested class and an inner class. Also, get tips on how to make sense of the sometimes confusing semantics for creating instances of nested classes. Starting with JDK 1.1, Java provided the ability to create nested...
Tags: Java, David Petersheim, inner class, Java Tips Newsletter, Instance, Class, NestedClassTip, Programming Languages, Software Development, Software/Web Development
Technical articles 2005-08-12
Deploy Java applications with JNLP
See why using the Java Network Launching Protocol JNLP and Java Web Start for your next distributed application may be an attractive option. For instance, one advantage about JNLP applications is that they're self-installing and self-updating. Remote clients can access and run applications on their local machines by...
Tags: Java, David Petersheim, Programming languages, Java application, Java Network Launching Protocol, Java Tips Newsletter, Application, Class, Software Development, Software/Web Development
Technical articles 2005-08-12
Sealing your Java jars can solve some of your classpath problems
Read why David Petersheim advocates making sealed jars part of your deployment system. Also, see how sealing your jars may help you solve some classpath problems. The classpath causes many Java-induced headaches. One of the problems with the classpath is that multiple versions of the same class...
Tags: Java, David Petersheim, Programming languages, jar, class loader, classpath, Java Tips Newsletter, Class, Software Development, Software/Web Development
Technical articles 2005-08-12
Embed HSQLDB into your Java applications
If you need an embedded database for your application, then discover why HSQLDB—a compact, 100 percent Java, SQL standards-based, database engine—might be the right answer for you. Using a database for your application's permanent storage is a practical, standard decision. But what do you do when your...
Tags: Java, HSQLDB, Storage, Databases, David Petersheim, Programming languages, Java application, database, Java Tips Newsletter, Hardware, Enterprise Software, Software, Data Management
Technical articles 2005-08-12
Override a Java application's time zone
There may be times when you need to override the time zone your Java application thinks it's in. Learn how to change the time zone for a particular application without changing the machine's time zone. Your application's time zone is usually determined by the machine's time zone...
Tags: Java, David Petersheim, Programming languages, Java application, time zone, Java Tips Newsletter, Zone, Software Development, Software/Web Development
Technical articles 2005-08-10
The importance of design symmetry in your Java types
Design symmetry means that if one method causes an effect, the logically opposite method should cause the opposite effect. In this Java tip, David Petersheim discusses why this can be a subtle point, but the results may be very significant. In this context, design symmetry means that...
Tags: David Petersheim, Programming languages, ConversionService, Java Tips Newsletter, Method, Connection, Java, Software Development, Software/Web Development
Technical articles 2005-08-10
Capture network packets in Java with Jpcap
If you want to capture network packets in your Java program, you might want to consider using Jpcap. Read this Java tip to learn how Jpcap works. If you want to capture network packets in your Java program, you'll need a little help because no...
Tags: Jpcap, Java, David Petersheim, Programming languages, NETWORKING, UNIX, network, Java Tips Newsletter, Method, Packet, API, JpcapTip, Software Development, Software/Web Development
Technical articles 2005-08-10
Serialize objects with XStream
David Petersheim explains why XStream is a perfect fit for parsing and writing small, simple XML files. Check out an example in which David shows how you could use XStream to read a configuration file for an application that needs to know a server's location. XML isn't the panacea...
Tags: XStream, David Petersheim, AuthServerConfig, XML, Java Tips Newsletter, Server, Software/Web Development, Web Development
Technical articles 2005-08-10
Process the command line with CLI in Java
Writing code to parse command line arguments is still necessary sometimes. When you need to examine command line arguments, see how and why you should use your open source Java toolkit and use Command Line Interface. Writing code to parse command line arguments isn't the most...
Tags: HelpFormatter, Java, David Petersheim, Jakarta Commons, BasicParser, CommandLine, command line argument, Command Line Interface, line argument, Java Tips Newsletter, Programming Languages, Corporate Communications, Software Development, Software/Web Development, Marketing
Technical articles 2005-08-08
Evaluate volatile keyword and synchronization in Java
If you need to control access to certain pieces of data in a class when writing multithreaded applications, see how you can use the volatile keyword to get a similar effect as using the synchronized keyword. When writing multithreaded applications, sometimes you need to control access to certain...
Tags: Java, David Petersheim, Programming languages, volatile keyword, Java Tips Newsletter, Thread, Keyword, Software Development, Software/Web Development
Technical articles 2005-08-08
Build Web clients with HTTP Client
David Petersheim demonstrates how using Jakarta Commons' HTTP Client to build a Web-aware application is straightforward. The next time you're building a Web-aware application and the Java API isn't enough, you may want to check out Jakarta Commons' HTTP Client. Using HTTP Client is straightforward: Create...
Tags: Web, David Petersheim, HttpClient, UsernamePasswordCredentials, Channel management, HTTP-Client, GetMethod, Java Tips Newsletter, HTTP
Technical articles 2005-08-08
Maximize your jdb debugging sessions
Jdb, the Java Debugger provided by Sun, can do most of the things you're used to doing in your normal debugger. Find out how you can get the most out of your jdb debugging sessions. What do you do when you need to debug a Java program and...
Tags: Java, David Petersheim, Development tools, Jdb, DebugTip.bar, jdb, DebugTip, breakpoint, Java Tips Newsletter, IDE, Class, Session, Programming, Programming Languages, Software Development, Software/Web Development
Technical articles 2005-08-08
Parse mathematical expressions with JEP
You can pass JEP a Java mathematical expression a string of mathematical operations to perform and get back an answer. See how you can start using JEP in your development work. JEP is a Java mathematical expression parser. This means that you can pass JEP a...
Tags: JEP, David Petersheim, Programming languages, Java Tips Newsletter, Expression, Java, Software Development, Software/Web Development
Technical articles 2005-08-09


Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now
500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now

Popular Sanity Saver Videos