“>Java expert Mark Wutka shows you how to build your own white noise machine using a Midi synthesizer, which is included on most sound drivers for Windows, and the javax.sound.midi API, which is new to JDK 1.3. Follow Mark’s directions, and you’ll be sleeping like a baby in no time!My wife and I use one of those sound-generator boxes when we go to sleep at night to drown out any surrounding noise. Recently, we were visiting my mom and discovered that we should have packe 

Continue

“>In this chapter, we will discuss all the aspects of instrumentation usingStandard MBeans. First, you will look at the formal definition of an MBean, as defined in theJMX specification. You will then go through the naming conventions andproperties of Standard MBeans and see how to implement the management interfaceusing the Standard MBean mechanism. At the end of this chapter, you will look atthe notification mechanism defined in the JMX specification and see how it canbe used for co

Continue

“>So far, you have seen how to use existing J2EE technologies to build multitier applications. However, the world moves on. A key area of interest at the turn of the millennium is how to integrate application both within and between organizations. Web Services provide a flexible and powerful integration mechanism that can be used to expose existing functionality and components to other organizations or to new applications. Today and tomorrow, you will see how you can use Web 

Continue

“>This article contains excerpts from Building Java Enterprise Systems with J2EE.EJB Deployment Descriptor Top-Level ElementsJava 2 platform, Enterprise Edition (J2EE) enterprise applications are madeup of one or more individual J2EE modules. J2EE modules have deploymentdescriptors specific to the module type, and J2EE enterprise applications alsohave their own deployment descriptor format. J2EE EJB application module deployment descriptors are defined in XML filesnamed ejb-jar.xml. T

Continue

“>Characteristics of CMP 2.0 Entity BeansCMP 2.0 entity beans have the following significant characteristics:CMP 2.0 entity beans support rich relationships between CMP 2.0 entitybean instances. Inter-entity bean relationship is characterized by itscardinality. CMP 2.0 entity beans support three types of cardinality:one-to-one, one-to-many, and many-to-many. This extensive cardinality enablesdevelopers to model complex business relationships in applications.CMP 2.0 supports an abstrac 

Continue

“>This sample chapter is excerpted from Developing EJB 2.0 Components, by Pravin Tulachan.Topics in This Chapter Introduction to Java Message Service JMS Architecture Messaging Domain Models The JMS Programming Model JMS Integration with EJBsIntroduced in the Enterprise JavaBean 2.0 specification, the message-drivenbean is a type of Enterprise JavaBean that uses asynchronous communication.Message-driven beans are based on the Java Message Service (JMS) architectureand require an

Continue

“>In this article, we look at some of the concepts that are quintessential tounderstanding J2EE in the proper perspective. We look at the multitierarchitecture of the J2EE platform, followed by the application componentframework, enterprise services available for the applications, and the J2EEruntime environment provided by the containers.J2EE: Core ConceptsJ2EE can be understood as an enterprise-scale, middleware architecture orplatform that links several resources and applications s 

Continue

“>This sample chapter is excerpted from Sams Teach Yourself J2EE in 21 Days, by Dan Haywood.Yesterday, you learned about Session beans, and how they provide a service toa specific client. Today you will learnThe major topics that you will be covering today areHow Entity beans represent domain objects, providing services that can beused by all clientsTwo types of Entity beans—bean-managed persistence (BMP) andcontainer-managed persistence (CMP)How EJBs can provide a local interfac

Continue

“>Need to provide application access to disparate data sources, without havingto change the business logic every time the data source changes? In search of amore efficient approach to handling large, read-only web lists? Or just plaintired of having to reinvent the wheel to solve each new Java design problem?Maybe you need an introduction to Sun Microsystems’Java BluePrintsprogram—a resource collection of guidelines, best practices, designpatterns, and actual code samples ai

“>First published by IBM developerWorks at http://www.ibm.com/developerWorks.Editor’s noteThis article reflects Eclipse release 2.0.Translation verification testingYou followed the internationalization steps outlined in the first article ofthis series,How to Internationalize your Eclipse Plug-in,then sent your national language (NL) resources (*.properties files, HTML files,icons, etc.) to a translation center. The items are returned and youreintegrated them into your product, bu

Continue