JavaBeans Section Index
What causes an "javax.activation.UnsupportedDataTypeException: no object DCH for MIME type xxx/xxxx javax.mail.MessagingException: IOException while sending message;" to be sent and how do I fix this? [This happens for known MIME types like text/html.]
The Java Activation Framework used by JavaMail is not configured correctly. It doesn't know how to handle the text/html content type. An html handler is provided in JavaMail 1.1.3 but the mailc...more
How should I model parameter passing in JSP and the relationship between JSP and JavaBeans using UML?
Parameters There are two principal ways to model parameters being passed from a HTML source on the client to a <<server page>> on the server. The first is to put them in a tag value,...more
Where can I learn (more) about using various XML (eXtensible Markup Language) technologies (such as DTDs, Schemas, SOAP, DOMs, etc.) with Java?
Check out the jGuru XML FAQ.
Check out the jGuru JSP FAQ.
Check out the jGuru JavaLanguage FAQ.
Check out the jGuru EJB FAQ.
How can I send an attachment without having to use a physical file?
Use java.beans.XMLEncoder. XMLEncoder e = new XMLEncoder( new BufferedOutputStream( new FileOutputStream("Test.xml"))); e.writeObject(new JButton("Hello...more
Glasgow is an early code name for the JavaBeans version after Java 1.1. It allows developers to create more sophisticated JavaBeans components offering better integration with their runtime envir...more
These come with the implementation download and with J2EE. They do not come with the JavaMail implementation. You can view them online at http://java.sun.com/products/javabeans/glasgow/javadocs/.more
Typically, you should invoke the method as: Beans.instantiate(this.getClass().getClassLoader(), yourBeanName) Beans.instantiate() basically loads a class, creates a Class object, and then n in...more
I'm currently working on a project where the core development is a set of JavaBeans implementing Neural Network data analysis.
I'm currently working on a project where the core development is a set of JavaBeans implementing Neural Network data analysis. I propose to implement the JUnit tests but the setXXX() should re...more
The BeanContext API is a core API in J2SDK. Basically, it enables a Bean to interrogate its environment for certain capabilities and available services. This allows the Bean to dynamically adjust ...more
The Long Term Persistence for JavaBeans (LTP) is a an API which supports a general mechanism for serializing JavaBeans to and from XML. Some recent articles on this include: Long Term Persistence...more
What are Xbeans?