cancel
Showing results for 
Search instead for 
Did you mean: 

Java EE query

jeremy
Champ in-the-making
Champ in-the-making
Hi,

In NavigationBean.java it has the code


import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;

If I hover over these two lines of code in my NetBeans IDE, the messages

package javax.faces.context does not exist

and

package javax.faces.event does not exist

display.

The javax.faces package is a package of Java EE.

Do I need to install Java EE to remove the above NetBeans messages ?

Why is it not necessary to have Java EE installed for Alfresco to run, if the source code imports Java EE packages (e.g. javax.faces) ?

Thanks.
2 REPLIES 2

hsohaib
Champ on-the-rise
Champ on-the-rise
Have you installed the Alfresco SDK in netbeans?  if yes you shouldn't have a problem.

Why is it not necessary to have Java EE installed for Alfresco to run, if the source code imports Java EE packages (e.g. javax.faces) ?

Alfresco includes all the neccessary j2ee libraries in "WEB-INF/lib" directory, and they are neccessary for Alfresco to run.

jeremy
Champ in-the-making
Champ in-the-making
Hi,

I don't have Alfresco SDK installed in NetBeans because I will be making changes to the source code.

NetBeans is no longer saying those packages don't exist.

Thanks.