Yeah for the bean id i wasent sure what is acceptable to use. I haven't come across anything that specifies what kind of conventions to use for the id. Like if it shouldn't be the same name as the class attribute value. But i found out that is not the source of the problem as you also know.
I didn't think precompilation of a bean was needed because from all of the bean examples i have looked at thus far they contain no main methods. So how then are they precompiled? I just added in the main method into one of my test beans then compiled it.
Code:import java.io.*; public class Message implements Serializable{ public static void main(String[] args){} private String message; public Message(){} public void setMessage(String message){ this.message = message; } public String getMessage(){ return message; } }




Reply With Quote