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.
Where can I learn (more) about Java JSP (JavaServer Pages)?
Check out the jGuru JSP FAQ.
Where can I learn (more) about the Java programming language syntax and semantics?
Check out the
jGuru JavaLanguage FAQ.
Where can I learn (more) about Java's EJB (Enterprise JavaBeans)?
Check out the jGuru EJB FAQ.
How can I send an attachment without having to use a physical file? - 08.31.06
How can I send an attachment without having to use a physical file?
What is the easiest way to convert my java beans into xml?
Use java.beans.XMLEncoder.
XMLEncoder e = new XMLEncoder(
new BufferedOutputStream(
new FileOutputStream("Test.xml")));
e.writeObject(new JButton("Hello...more
What is Glasgow?
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
Where can I find the API docs for the JavaBeans Activation Framework?
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
What is the correct way to invoke Beans.instantiate()?
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
What is the BeanContext API all about?
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
Where can I find more information on Long Term Persistence (LTP) API for JavaBeans?
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? - 08.31.01
What are Xbeans?