terminology - What is component oriented programming in Java? -


i need learn component oriented programming in java, believe related ejb's not sure that... true ?

please give me links related component oriented programming in java have start point ?

thanks !

component oriented programming method of decomposing problem major sections ("components") each has particular role or domain of responsibility in solving problem.

businesses component oriented consist of departments "accounting", "purchasing", "sales", have full domain on tasks business needs provide.

the differences between object-orientation , component orientation ones of scale , re-usability. object oriented thinking tends focus on tight integration of small objects, objects reused across entire software offering. component oriented thinking tends focus on silos of responsibility operate independently , may or may not share common objects other components.

jdbc database drivers example of component oriented thinking (implemented in object oriented world). don't care database driver code against, or details of database communications, component (the jdbc driver) handles of internally.

the different types of ejbs components. each problem wish solve, should selecting j2ee component provides correct general approach, , extend provide necessary details of solution.

for example, if wished display java generated web page, use j2ee httpservlet component, ensure fit j2ee servlet container handle plumbing of receiving http requests, decomposing them java objects , method calls, directing them correct container, gathering output correct handler via container, composing output http responses, etc.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -