is there any way of using template for String in POJO?? I mean this template will act as placeholder and we can change it dinamically.
notice that I'm not talking about JSP here.
Do you mean formatted Strings? I am sure that is on the SCJP5 syllabus. Or you could a static class that reads in come kind of config file/database. Then in the POJO's constructor, ask the static for the default String value.
Really depends on what you are trying to do I guess.
SCJP6
Do you want ants? Because that's how you get ants. And a tiny ads: