Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Chapter 6: Component interoperability sc... > 6.7: Testing the sample application - Pg. 244

Make sure you add the following import statements shown in Example 6-16 to the class. Example 6-16 Import statements to be added import import import import import import import import import import import import import import import import import java.io.StringBufferInputStream; java.io.StringWriter; javax.jms.JMSException; javax.jms.QueueConnection; javax.jms.QueueConnectionFactory; javax.jms.QueueSender; javax.jms.QueueSession; javax.jms.Session; javax.jms.TextMessage; javax.naming.InitialContext; javax.naming.NamingException; javax.xml.bind.JAXBContext; javax.xml.bind.JAXBException; javax.xml.bind.Marshaller; javax.xml.bind.Unmarshaller; redbook.wasdnet.compinterop.impl.*; redbook.coex.sall.business.CalculatorService; Export the application EAR by right-clicking the EAR project ComponentInteropEJBEar and selecting Export EAR. Enter the name and