• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Some questin (IZO-807)

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Ranch Hand
Posts: 145
8
Mac MySQL Database Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic