Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some questin (IZO-807)

 
Angelo Verdicchio
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,


I am studying from the book of Paul R. Allen and Joseph I. Bambara. Further I started to do the practice from the tool that is in the cd attached to the book. In accord with the content of the book I think that there are some solution in the tool that are wrong. Follow I report the question/solution that I think are wrong:

Can JSP be written in JavaScript? Solution of the tool is "TRUE" but i don't think so. At max I know that we can write JavaScript in JSP, but I don't think that we can write jsp application in JavaScript. Right?

A web component can be a remote client of EJB? Solution of the tool is "FALSE" but i don't think so. Am I wrong?

A web component or other EJB could be a local client of another EJB? Solution of the tool is "FALSE" but i don't think so. Am I wrong?

Could someone tell me If am I wrong?

Thanks

 
Mike Degteariov
Ranch Hand
Posts: 145
8
Java Mac MySQL Database Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Angelo,

Can JSP be written in JavaScript?

Obviously, it can not.


A web component can be a remote client of EJB?
A web component or other EJB could be a local client of another EJB?


This is a little less obvious.
According to this description,
Java EE web components are either servlets or pages created using JSP technology (JSP pages) and/or JavaServer Faces technology.


Servlets can act as local or remote clients for EJBs, as shown here.
Not that they should, as in Java EE 6 , the flow should be JSF -> CDI -> EJB, but they certainly could.

Summing up, I would answer "TRUE" to both questions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic