java - Is it logical to use EJBs in a desktop application for doing business logic? -


currently i'm developing desktop application smart homes, app can read from/write serial port(here's business logic), store information on local database(which installed on same device).
feature(and importantly) of app able set airdroid, every device connecting same wifi connect main device , control house.(by showing them html pages)
here's i'm trying do:
set application server glassfish.
implement business logic(such write/read to/from serial port, handling database jobs(with orm) and...) ejbs.
use ejb inside desktop application.
logical or not?
thank you.

it logical. using ejbs many desktop applications implement business logic. if feel comfortable ejbs, rather other frameworks or standards, use it.

of course, there pros , cons of doing so, topic, can find multiple discussions on , internet.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -