Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ejb-dev] CDI --v- EJB

Hi,

With reference to the source  found here https://www.backbutton.org/ejbcdi.html

Is there a design pattern which will allow the  elimination of

the IF Else in the class FirstServlet

        if(cartEJB == null){
   .....

in my version of the shopping cart application.  ?


https://www.backbutton.org
¯\_(ツ)_/¯
♡۶♡ ۶♡۶


Back to the top