Secure thread collaboration across protection domains

Secure thread collaboration across protection domains

Build solid applications with the AccessControlContext and the GuardedObject classes Let’s consider two related but slightly different scenarios. You’re building an application with two threads, a server and a client,at its heart. The design requirements permit the server thread to…

Make an EJB from any Java class with Java Reflection

Make an EJB from any Java class with Java Reflection

Make any single-tier Java application into an enterprise application Every EJB application server allows you to install an EJB if you provide a bean implementation, remote interface, and a home interface but, in most cases, you have to write them…

Java Tip 105: Mastering the classpath with JWhich

Identify which class will be loaded in your classpath At one time or another, developers experience frustration when dealing with the Java classpath. It’s not always clear which class the class loader will load, especially when your application’s classpath becomes…

Polymorphism in its purest form

The nature of abstract classes and polymorphism Q: I would like to clarify my understanding of abstract classes. As I understand it, a class declared abstract is an incomplete class, not meant to be instantiated. Java would complain if an…

Sun lets Jini Starter Kit 1.1 out of the bottle

<em>JavaWorld</em> author Frank Sommers talks with Jini architect Jim This year is shaping up as a success for Jini technology. Jini licensees now exceed 50,000, and the technology is deploying everywhere from automobiles to enterprise software systems. The upcoming Fifth…

Validation with Java and XML Schema, Part 4

Validation with Java and XML Schema, Part 4

Build Java representations of schema constraints and apply them to Java data Validation. It still makes my stomach queasy to say the word; I often have nightmares of sitting at my desk, drooling on my keyboard as I type in…

Java Product News (December 8, 2000)

INDEXHEAD: Sun launches Java TV technology for digital television Sun Microsystems is now shipping its Java TV technology, which introduces the Java platform to the digital television market. Java TV technology was created via the Java Community Process with support…

Reduce EJB network traffic with astral clones

Reduce EJB network traffic with astral clones

Use the bean implementation outside the container to avoid remote calls The Java 2 Platform, Enterprise Edition specifies the Java community’s standard for enterprise distributed computing. Included in this standard are Enterprise JavaBeans (EJB), which provide a set of programming…

Develop n-tier applications using J2EE

Develop n-tier applications using J2EE

An introduction to the Java 2 Platform, Enterprise Edition specification by way of BEA’s WebLogic Server Java originally made its debut in browsers and client machines; at the time, many questioned whether it was suitable for server-side development. Now, with…