... a model object (value object) ...
Now i use this [...] object in the method in session bean and do some operations.
"... is it a procedural approach?"
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Venkatesh Sai:
Do you mean to say that eventhough its not OO at the boundary between subsystems design is fine?
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Thomas Taeger:
Yes, surely!
Enjoy it!
Thomas
Originally posted by Venkatesh Sai:
Do you know about any of the designs that avoid this also?
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Thomas Taeger:
No idea for OO purism here. And no need.![]()
Originally posted by Venkatesh Sai:
Thanks Mark Spritzler. Your suggestion seems great!
I got some more suggestions from friends which is "introduce a layer which converts the model objects into XML. This XML is placed in the bean and it is further used for all operations".
Thanks
Venkatesh S
Originally posted by Pradip Bhat:
Why do you need a XML here?
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Originally posted by Roger Chung-Wee:
I find it hard to think of a good reason why an EJB should do any XML processing. Why are objects not being passed into and returned from the session bean?
Originally posted by Roger Chung-Wee:
I find it hard to think of a good reason why an EJB should do any XML processing. Why are objects not being passed into and returned from the session bean?
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Thomas Taeger:
I totally agree too.
The XMLomania has swapped over all universities worldwide and lets people (or youngsters only?) only think in XML anymore, on the expense of slowing systems down and adding a unnecessary framework and one more errorprawn indirection. What for? If one really needs an additional say WebService he can provide it later as a wrapper and leave the smart EJB methods untouched. The use of XML must be justified by a business reason or a technical lack in say RMI like in OSGi.
Thomas
Originally posted by steve mcdonald:
if adding XML "HOT" technologies to your resume has importance, then add that layer.
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by steve mcdonald:
if adding XML "HOT" technologies to your resume has importance, then add that layer. Other-wise there is no need to make things complicated.
"Good design is always Simple and there are Simple solutions to complex problems"
The world is crazy, we add layers into s/w and every one keeps talking/blog about its benefits, how it might change the world, and no sooner we start removing them to keep it simple.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |