| Home : Java : Java |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
|
|
In Part I (the Server Side) of this article, I presented a detailed overview of SSL and JSSE, and described how to develop server-side SSL-enabled applications. One useful application described in Part I, which will be used in this part as well, is the HTTPS server. This article is concerned with the client-side. It provides a brief overview of JSSE, then shows you how to: Use the JSSE APIs on the client-side .Approach developing client-side SSL-enabled applications. Develop simple SSL-enabled client applications .Export server-side certificates and import them to the client-side . Develop an SSL-enabled Web browser .
Updated: 05/18/2005
|
|
|
McFarland: Because we already talked about the George Coates Performance Works stuff, I'll talk here about the chat server I've been working on. First of all, a firmly object-oriented language like Java has all sorts of facilities for making software robust, when used correctly. For example, when a user tries to enter a room, we can just call the Room.addUser method without worrying if there's space for the user, as we can have the room be smart enough to throw an exception if the room is full. Then we know we have to catch the exception wherever we wish to call Room.addUser, so we don't get any surprises at runtime.
Updated: 05/18/2005
|
|
|
Sound creates mood, triggers memories, and in conjunction with visual imagery weaves whole worlds of fantasy. Sound is the cornerstone of multimedia content. That's why Sun's Java Media team is busy readying the Java Sound 1.0 API for inclusion with the next release of the Java Development Kit (JDK). Prior to the advent of the Java 2 platform, the language handled only telephone quality sound, in the form of µ-law AU files recorded in mono at an 8 kHz sampling rate. The Java 2 platform adds support for AIFF, WAV and three types of MIDI formats. The supported MIDI formats are Type 0 MIDI, Type 1 MIDI, and RMF.
Updated: 05/18/2005
|
|
|
In this article you will see the ease with which we can deploy existing client-side applications developed using Sun Java System Identity Server SDK through Java Web Start. You will take a look at the minimal changes needed to build a JNLP-packaged application and learn how to build and deploy your own.
Updated: 05/18/2005
|
|
|
Java.net is popular for its open source projects, such as the JOGL API Project, NetBeans, JXTA, and Project Looking Glass. These projects attract developers who are experienced in working on the Java platform. From this, it's easy to get the impression that java.net is not for developers new to the Java platform, but it is. In fact, the big development projects are only a portion of java.net. Above all else, java.net is a community, and much of the site is devoted to educating many types of people about the Java platform, from new programmers to educators to hard core developers.
Updated: 05/18/2005
|
|
|
Remote Method Invocation (RMI) provides a means of communicating between Java applications using normal method calls, and offers the capability for the applications to run on separate computers--located perhaps as far apart as on opposite sides of the world. One important feature of RMI is that it presents a programmatic interface for networking rather than relying on the sockets and streams approach. The method's major advantage is that it offers you a higher-level, method-based interface in which a remote object is treated as though it were local. RMI is also convenient to use and more natural in many ways than using sockets.
Updated: 05/18/2005
|
|
|
What do JavaSoft's own developers have to say about increasing Java performance? Here are their personal tips and tricks: Use buffered I/O.Using unbuffered I/O causes a lot of system calls for methods like InputStream.read(). This is common in code that parses input, such as commands from the network or configuration data from the disk. Try to avoid new. Garbage collection is rarely a serious performance overhead. But, Java1 virtual machine (JVM)-internal synchronization caused by the new operation can cause lock contention for applications with lots of threads. Sometimes new can be avoided by re-using byte arrays, or re-using objects that have some notion of a state-resetting method.
Updated: 05/18/2005
|
|
|
The following code is instructive if you're learning how to do networking and threads in Java. It defines the ServerThread class. To see code that uses it, click here . Java for Networking Programmer Robert Uomini explains why he loves Java for networking. A Simple NNTP Server Robert Uomini's code for an offline NNTP server class.
Updated: 05/18/2005
|
|
|
Customers expect products to conform to their cultural preferences, especially when it comes to language and data formats. You've probably been involved in creating applications in C, C++, or a 4GL that accommodate those expectations, but do you know how to write great global applications in the Java programming language? Creating a global application isn't particularly difficult, but it does require you to become familiar with the most common international problems and their solutions. The problems associated with creating an international application are basically the same from one computing environment and language to any other. Solutions are roughly equivalent as well, although their implementations obviously differ among the various computing environments and programming languages. This article gives an overview of internationalization topics and concepts in a Java programming environment, and covers the following features available in the Java Development Kit 1.1.
Updated: 05/18/2005
|
|
|
What do e.e. cummings, John Kennedy, Alfred Hitchcock, and Buck Owens have in common? They're all people who can teach database programmers a thing or two about communication, says Aaron Alpar, Symantec Corporation's technical evangelist for database products. Alpar recently shared his excitement about Java and Java Database Connectivity on the 14-city \"Jump Start for Java\" tour sponsored by Netscape.
Updated: 05/18/2005
|
|
|