Using JBoss Web Application Server
by Andreas Schaefer07/16/2001
The JBoss Web application server was built with one primary goal in mind: to make it as dynamic and expandable (and scalable) as possible, without losing too much in performance or reliability.
Before starting JBoss (at least in a production environment), an adjusted configuration should be set up in the configuration directory (<JBoss>/conf). By default, there is one subdirectory, called "default." These files can be adjusted, but the best practice is to copy them and adjust to your need. Therefore, JBoss can be started with the name of the configuration subdirectory (without the path) as the first parameter.
Inside this new configuration, adjust directory jboss.conf to contain all the necessary ClassPathExtensions, including JAR files needed to run JBoss (except the EJB JAR files, of course). Lt's have a look at the core configuration file: jboss.jcml. It defines all the components JBoss needs to load at startup. The file must specify all the components needed, and every component not needed should be removed, which will speed up JBoss.
DataSources needs to be configured. If they're not necessary, then the default DBs delivered with JBoss should be kicked out. (JBoss comes with two default DBs: InterBase and Hypersonic.) For security reasons, the JMX HTML-Adaptor and JMX RMI-Connector should only be allowed to run if the network (ports) is secure; otherwise, someone outside can manage the application server (including stopping the server). Of course, an additional MBean can be added, too.
You might ask yourself, "Is this all?" Well, I didn't say we're finished. To help you understand the next part, I will first explain how a call from the client is handled in the J2EE-Container of JBoss. After the client calls a method, it will end up in the appropriate container (Entity, Stateless- or Statefull Session or Message). The container then calls the first Interceptor, which then hands it over to the next Interceptor, and so on until the last Interceptor is called. The last one is always the ContainerInterceptor, which finally calls the method the client wanted to call. At last, the call is then reversed. Each Interceptor has the chance to execute its task before the business method gets called (which includes the stop of the execution) or prevents the return of the result of the business method.
![]() |
|
Andreas Schaefer will be presenting the session, Using JBoss.org: A Java 2 Enterprise Edition-based Container at the O'Reilly Open Source Convention in San Diego, CA, July 23-27, 2001. Rub elbows with Open Source leaders while relaxing on the beautiful Sheraton San Diego Hotel and Marina waterfront. For more information, visit our conference home page or see our pre-conference coverage. |
|
|
Let's get concrete and assume that an ISP is offering clients the ability to host EJBs on its application servers. To bill clients, the ISP can just create an Interceptor and add it as the last Interceptor in the stack. To do so, you have to change either standardjboss.xml or jboss.xml. If the Interceptor is set in the standardjboss.xml, you have to check if the client did not overwrite it in the application's jboss.xml file. The Interceptor just has to check what the EJB is called and store the request in the billing system, assuming the ISP has a running JBoss application server and your client sends a new application containing EJBs.
Next, the client asks to store the data in its own database. To make everything a little easier, we also assume that the JDBC driver is already loaded. In JBoss, it is possible to add a new DB as a DataSource without restarting the application server. After creating the DB, the JMX management interface is accessed:
Type in
http://<server = name>:<HTML Adaptor Port>. The HTML Adaptor Port is by default on 8082, but can be changed injboss.jcml(please note that for this the HTML-Adaptor MBean must be specified injboss.jcml).Now a list of all already loaded JBoss components MBeans is displayed. Click on the "admin" button on the upper right corner and it will lead to the "Agent Administration" which allows you to create a new MBean.
Type in the
service=3DXADataSourec,name=3D<What ever DataSource = name>as Keys andorg.jboss.jdbc.XADataSourceLoaderas Java Class.The Action selection box should be set to "create." Then hit the "Send Request" button.
The confirmation page indicating a successful creation of the MBean shows up.
Now return back to the Agent View, and click on the newly created MBean.
Now, the DataSource attributes must be set, especially the DataSourceClass, JDBC User, Password, Pool Name and the URL to the DB. Then, hit the "apply" button. Finally, hit first the "init" button to initialize the MBean and then the "start" button to start up the MBean. Please check the StateString value so that it's set to "Started." If yes, then the DataSource is ready to rumble.
I hope you are impressed (at least a little bit), but this is not the end (even if it is for this article). You can easily write your own class, allowing you to use a different naming system like CORBA or SOAP without changing a class within JBoss. You just write your own ContainerInvoker and specify it in either standardjboss.xml or jboss.xml.
Therefore, if you don't need clustering or have a heavy-load Website, the JBoss Web application server is a really good choice, because it's a truly dynamic and expandable application server. For more on JBoss, go to jboss.org.
Andreas Schaefer is a system architect for J2EE at SeeBeyond Inc., where he leads application server development.
Return to ONJava.com.
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 20 of 20.
-
Jboss = Pain in CMP/CMR EJB
2007-01-24 16:00:49 pingudebian [Reply | View]
Jboss is not CMP/CMR friend.
I tried to use for CMR relationship on JBoss and relying on their Automated PK Generation. it's always failed with "Primary key for created instance is null"
<br/>
I used to love JBoss, but after convincing my boss to switch to JBoss with no solution, better go back to weblogic which provide better solution.
-
JBOSS
2006-12-29 03:39:55 BHARATH [Reply | View]
I know weblogic and tomcat but i dont know the jboss.How can i deploy our application in jboss.
-
jboss
2006-06-08 09:02:13 pitalco [Reply | View]
how to configure the jboss in eclipse explain me
in briefy way
-
jboss
2007-05-15 02:56:15 transdomain [Reply | View]
on eclipse menubar Go to HELP-->S/W updates--> find &install-->Next-->select Callistro Discovery site-->select web&j2ee-->next-->finsh-->installall-->yes.
open j2ee perspective.
open server view-->rightclick-->new-->server fill required information.
install Xdoclet and configure with Eclipse
if u need more info justtype "installing and using eclipse web tool" on google address bar
-
Deploy java file without restart jboss application server
2006-04-19 22:54:30 Adeshyadav [Reply | View]
Hi
I am using JBoss 4.0. I have one question.I am using eclipse and ant for deployment the applcation. My question is when we change in jsp then there is no need to restart the server but when we change into java file the why we need to restart the jboss. Can we deploy the java file wihout restart the jboss server. Thanks -
Deploy java file without restart jboss application server
2006-05-20 17:15:18 caili@hd123.com [Reply | View]
Surely you can. Go to the file "deploy\jbossweb-tomcat50.sar\conf\web.xml", change the init-param "development" of jsp servlet from "false" to "true". Unlike tomcat who doesn't assign a value in this file, JBoss sets this parameter to "false".
-
JDBC connection Pool and data sources
2005-08-29 15:14:43 prasanrr [Reply | View]
Hi
I am using JBoss 4.0.2 and Oracle 9.x and I am trying to configure a few JDBC connection pools for an Oracle database and have the data sources use these connection pools. I ave been searching on the web but could not find any examples. I do see data source configuration examples, but not connection pool and how to make the data source use the connection pool. Hope you can help me.
Thank You
-
jboss cvs
2002-04-21 20:17:33 dwbrown [Reply | View]
Hello Andreas, great article, but how do u get the cvs source and compile the server 4 purposes of learning more it and getting at the root of problems that cannot be answered anywhere else. thanx, david brown.
-
Best Application Server out there.
2001-07-21 13:21:32 dhinojosa [Reply | View]
This is the best application server out there. This open source server beats out some of the $10,000 counterparts. After some initial setup as described in this article, developing for it is easy. If you run into a snag, the mail list at jboss.org is more than helpful, and you get answers faster than you would waiting for a technical support agent at likes of IBM, Oracle, BEA, etc. who will probably give you the run-around.
The small footprint is also amazing. This application server is basic and fast. I highly recommend it for production and development.
Dan Hinojosa
Java Programmer, Consultant, and Zealot
-
DBs provided by JBoss
2001-07-18 03:14:21 mapofe [Reply | View]
Just a note: JBoss come with InstantDB and Hypersonic, not Interbase as mentioned
-
No Clustering? Coming in 3.0
2001-07-17 14:52:41 mdubord [Reply | View]
I liked the article, but I can't believe that you glossed over the fact that JBoss is going to have clustering in 3.0. I think you work on the project (your name is on the JBoss website), so I'm surprised you left it out.
I also think JBoss will be able to handle high-load sites in the not-to-distant future.
I think your article doesn't do enough to stress those points (and makes JBoss sound like a low-cost, low-performance alternative). In fact, I would argue that JBoss is a better solution than other app servers for almost any (except the largest volume sites) installation. The support is excellent: where else can you get 24 hour response to your GENERAL EJB questions? Forget about questions about JBoss, people on the list help out with what seem to be the dumbest questions on earth sometimes. I've seen people give info on how to set up DB/2 (why?), how to store blobs in a database, and someone helped my with a stupid programming error (methods in the remote interface throwing javax.ejb.EJBException was generating a deployment warning that my remote interface was return invalid types for RMI/IIOP). Also, the product is constantly being updated, and is getting 40,000 downloads per month. I know of no other app server has that kind of use. And the documentation is excellent.
So let this be a lesson to all of you: JBOSS ROCKS! Everything else is adequate.
And you can't imagine how easy it is to deploy an EJB. Download and try it out.
mdubord2@lycos.com
-
No Clustering? Coming in 3.0
2001-07-17 14:52:30 mdubord [Reply | View]
I liked the article, but I can't believe that you glossed over the fact that JBoss is going to have clustering in 3.0. I think you work on the project (your name is on the JBoss website), so I'm surprised you left it out.
I also think JBoss will be able to handle high-load sites in the not-to-distant future.
I think your article doesn't do enough to stress those points (and makes JBoss sound like a low-cost, low-performance alternative). In fact, I would argue that JBoss is a better solution than other app servers for almost any (except the largest volume sites) installation. The support is excellent: where else can you get 24 hour response to your GENERAL EJB questions? Forget about questions about JBoss, people on the list help out with what seem to be the dumbest questions on earth sometimes. I've seen people give info on how to set up DB/2 (why?), how to store blobs in a database, and someone helped my with a stupid programming error (methods in the remote interface throwing javax.ejb.EJBException was generating a deployment warning that my remote interface was return invalid types for RMI/IIOP). Also, the product is constantly being updated, and is getting 40,000 downloads per month. I know of no other app server has that kind of use. And the documentation is excellent.
So let this be a lesson to all of you: JBOSS ROCKS! Everything else is adequate.
And you can't imagine how easy it is to deploy an EJB. Download and try it out.
mdubord2@hotmail.com
-
Good article
2001-07-17 14:01:42 vharcq [Reply | View]
Good work andy!
Good mix Simple/Complex example that shows (only) one of the JBoss advanced feature.
Now I am waiting more :)
JMX for the next article ?
-
How to configure message queues in JBoss
2007-03-17 02:01:22 DSaurabh [Reply | View]
Hi,
I am in a project where I want to migrate an application from Weblogic to JBoss.I have the following entry in weblogic server's config.xml for a message queue:
<JMSQueue Name="XXX Queue"
ErrorDestination="XXX-errorQueue"
RedeliveryDelayOverride="60000" RedeliveryLimit="1"
JNDIName="XXX-Queue" StoreEnabled="true"/>
I have got a JBoss MQ entry as following:
<mbean code="org.JBOSS.mq.server.jmx.Queue"
name="JBOSS.mq.destination:service=Queue,name=XXX-Queue">
<depends optional-attribute-name="DestinationManager">
JBOSS.mq:service=DestinationManager
</depends>
</mbean>
I do not know what attribute should I enter in JBoss configuration for the following:
<Redelivery Delay Override>
RedeliveryLimit
StoreEnable
ErrorDestination
Some guidance provided will be highly appreciated.
Thanks
Saurabh






stomFieldValueLocal.java:4: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocal.java:12: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface CustomFieldValueLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:9: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface CustomFieldValueLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:11: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public CustomFieldValueLocal create(Integer value) throws Create
Exception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:13: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public CustomFieldValueLocal findByPrimaryKey(Integer value) thr
ows FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Cu
stomFieldValueLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.CustomFiel
dValueLocalHome
[javac] public Collection findByCustomField(Integer value) throws Finder
Exception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface UserLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Ve
rsionLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Ve
rsionLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface VersionLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erPreferencesLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Us
erPreferencesLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface UserPreferencesLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueActivityLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:8: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface IssueActivityLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:10: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public IssueActivityLocal create(Integer value) throws CreateExc
eption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:12: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public IssueActivityLocal findByPrimaryKey(Integer value) throws
FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public Collection findByIssueId(Integer value) throws FinderExce
ption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueActivityLocalHome.java:15: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueActiv
ityLocalHome
[javac] public Collection findByIssueIdAndNotification(Integer value, in
t notificationSent) throws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueAttachmentLocal extends EJBLocalObject {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalHome;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:4: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:5: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:8: cannot find symbol
[javac] symbol: class EJBLocalHome
[javac] public interface IssueAttachmentLocalHome extends EJBLocalHome {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:10: cannot find symbol
[javac] symbol : class CreateException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal create(Integer value) throws CreateE
xception;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:12: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal findByPrimaryKey(Integer value) thro
ws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:14: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public Collection findAll() throws FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:15: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public Collection findByIssueId(Integer value) throws FinderExce
ption;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueAttachmentLocalHome.java:16: cannot find symbol
[javac] symbol : class FinderException
[javac] location: interface cowsultants.itracker.ejb.beans.entity.IssueAttac
hmentLocalHome
[javac] public IssueAttachmentLocal findByFileName(String value) throws
FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueBean.java:6: package javax.ejb does not exist
[javac] import javax.ejb.*;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueBean.java:61: cannot find symbol
[javac] symbol : class FinderException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueBean
[javac] public abstract Collection ejbSelectLastModifiedDates(Integer pr
ojectId) throws FinderException;
[javac]
^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:6: package javax.ejb does not exist
[javac] import javax.ejb.EntityBean;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:7: package javax.ejb does not exist
[javac] import javax.ejb.EntityContext;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:8: package javax.ejb does not exist
[javac] import javax.ejb.FinderException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:9: package javax.ejb does not exist
[javac] import javax.ejb.CreateException;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:15: cannot find symbol
[javac] symbol: class EntityBean
[javac] public abstract class IssueFieldBean implements EntityBean {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:16: cannot find symbol
[javac] symbol : class EntityContext
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] private EntityContext ctx;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:56: cannot find symbol
[javac] symbol : class EntityContext
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public void setEntityContext(EntityContext value) {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:64: cannot find symbol
[javac] symbol : class CreateException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public Integer ejbCreate(Integer value) throws CreateException {
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldBean.java:69: cannot find symbol
[javac] symbol : class CreateException
[javac] location: class cowsultants.itracker.ejb.beans.entity.IssueFieldBean
[javac] public void ejbPostCreate(Integer value) throws CreateException
{
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldLocal.java:3: package javax.ejb does not exist
[javac] import javax.ejb.EJBLocalObject;
[javac] ^
[javac] Z:\New project\itracker\src\cowsultants\itracker\ejb\beans\entity\Is
sueFieldLocal.java:11: cannot find symbol
[javac] symbol: class EJBLocalObject
[javac] public interface IssueFieldLocal extends EJBLocalObject {
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
BUILD FAILED
Z:\New project\itracker\build.xml:43: The following error occurred while executi
ng this line:
Z:\New project\itracker\build.xml:54: The following error occurred while executi
ng this line:
Z:\New project\itracker\build.xml:277: Compile failed; see the compiler error ou
tput for details.
Total time: 50 seconds
give me the guideliness for deploying the project.
plz help me to execute the project