T
thecrow
OK, this is somewhat of a neophyte question but I don't know where else
to ask it.
What is the best way to integrate existing Java classes into a web
page? These are purely domain logic classes... no presentation or
anything. I looked into JavaBeans, but this technique seems to have
some serious problems... it seems that JavaBeans cannot be anything
except data objects, as they must conform to a rigid getter/setter
paradigm.
Servlets seem like the way to go, but it seems I lose the ability to
mix HTML with the code.
How do I do this with Java? It doesn't seem to have any easily
accessible way to reuse classes in web pages, at least as far as I can
tell.
to ask it.
What is the best way to integrate existing Java classes into a web
page? These are purely domain logic classes... no presentation or
anything. I looked into JavaBeans, but this technique seems to have
some serious problems... it seems that JavaBeans cannot be anything
except data objects, as they must conform to a rigid getter/setter
paradigm.
Servlets seem like the way to go, but it seems I lose the ability to
mix HTML with the code.
How do I do this with Java? It doesn't seem to have any easily
accessible way to reuse classes in web pages, at least as far as I can
tell.