java ee - Are EJBs applications like Web Services? -
is developping ejb application considered web services ?
or 2 different ?
or can make ejbs web services ?
my answer yes , no.
no in sense ejb programming model. programming model contains concepts such security, transaction demarcation, state management , persistency (stateful or stateless beans), , more. while web service more remoting technology, is, way connect systems, soap in case of web service. under perspective both different topic (web service compared rmi-iiop though).
yes in sense both referred technologies expose service outside (as long it's stateless). under perspective belong same category. , ejb can indeed exposed web service annotating bean accordingly.
hope brings light distinction.
Comments
Post a Comment