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

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -