About Question enthuware.jwpv6.2.1149 :

Moderator: admin

Post Reply
rishi2616
Posts: 3
Joined: Sat Apr 14, 2018 12:16 pm
Contact:

About Question enthuware.jwpv6.2.1149 :

Post by rishi2616 »

Hi,

Just wanted to clarify why the answer is a business delegate. There's no indication in the question that there's any EJB/equivalent business processing is involved

Thanks & regards,
Kingshuk

Online
admin
Site Admin
Posts: 10034
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1149 :

Post by admin »

A business delegate doesn't necessarily mean that there has to be any EJB involved. A business delegate is simply a class that hides the business services (whether the business services are implemented using EJB or not is immaterial). In this question, the problem statement says that service methods have become too big because each servlet performs a complete use case and there is a lot of repetition as well. So it makes sense to separate out the business logic of these servlets into business services and use business delegates to use this services.

Also, remember that sometimes the options may not always match the requires exactly. If the problem statement says you have to pick two options, you have to select two options and one of the correct options may not be very clear. You have to select the options that make most sense.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests