EJB Packaging Question

WLS 7.0 , Win2K
I am working on an application which consists of 15 EJB's ( Stateless &
Entity). How do i package the ejb's : package all the ejb's
as one jar/single ejb-jar. xml or have 15 different jars with 15 different
ejb-jar.xml files. Are there any advantages of one over the
other.

"Bob Lee" <[email protected]> wrote in
news:[email protected]:
"John" <[email protected]> wrote in message
news:3d220288$[email protected]..
WLS 7.0 , Win2K
I am working on an application which consists of 15 EJB's ( Stateless
& Entity). How do i package the ejb's : package all the ejb's
as one jar/single ejb-jar. xml or have 15 different jars with 15
different ejb-jar.xml files. Are there any advantages of one over the
other.
Flexibility (multiple jars) over ease (one jar). It really depends on
their potential for separate reuse and interdependencies. If you will
always deploy all of them together, you might as well just have one
jar. Agreed. Something that might make your life easier is to use EJBGen
(http://beust.com/cedric/ejbgen). If all your EJB's use EJBGen, it is
trivial to re-partition them at any time:
ejbgen ABean.java BBean.java CBean.java
ejbgen DBean.java EBean.java
You can also use MergeJars (java weblogic.ejb20.utils.MergeJars) to do
the opposite: take several small jar files and merge them into a bigger
one.
Cedric

Similar Messages

  • EJB Doubts/Questions - HELP

    Hi All,
    I am new to EJB technology and i am learning EJB without training canter. I am just going through Java EE tutorials available on www.oracle.com .
    My knowledge of EJB Session bean say:
    1.     Stateful Session Bean     : Maintains the client state.
    2.     Stateless Session Bean     : Does not maintain the client state.
    Now I am developing Shopping Cart Example using EJB, Servlet, JSP and HTML pages.
    My Project contains following pages:
    1.     login.html
    2.     AuthenticateServlet.java
    3.     User.jsp
    4.     PurchaseServlet
    5.     PurchaseSuccessful.jsp
    6.     AuthenticateBean – Stateful Session Bean
    7.     AutheticateBeanRemote – Remote Interface of Authenticate Bean
    8.     PurchaseBean – StatefulSession Bean
    9.     PurchaseBeanRemote -- Remote Interface of PurchaseBean
    Session Bean with its remote interface is maintained in the ejb package.
    Login.html contains;
    1.     textbox named “txtUser”
    2.     Password textbox named “txtPass”
    3.     Submit Button
    On submitting the credentials, it will check for the authentication in the AuthenticateServlet.
    AuthenticateBean contains
    public boolean authenticate(String user, String pwd)
         if(anylogic)
    return true;
         else
              return false;
    The above method is exposed in AuthenticateBeanRemote Interface.
    2. AuthenticateServlet contains
    I have done lookup of AuthenticateBeanRemote and have created abr. Below some important code of AuthenticateServlet;
    String user = request.getParamter("txtUser") ;
    String pwd = request.getParamter("txtPassr") ;
    boolean flag = abr.authenticate(user,pwd);
    if(flag)
         // then it will direct the control to User Page
    else
    out.println("Failure");
    User.jsp page will show me the UserID and some task that the authenticated user can do.
    My question: is while redirecting the page to User.jsp from AuthenticateServlet, do I need to do URLRewritting to maintain the session or do I need to create separate HTTPSession Object or does the Stateful session bean will take care of session management on its own. i.e. no need to do anything, just transfer or redirect to User.jsp page .
    User.jsp has purchase catalog of which the user will select products and click on purchase. On clicking purchase, it will take us to PurchaseServlet.
    My question Now in the PurchaseServlet if I have written the code to access the methods in PurchaseBean, Whether it will be a guarantee that the authernticated and currently logged in user is accessing the methods so that only that person’s purchased items are visible and no mishap will occur regarding the user integrity.
    PurchaseBean only contains the method to add the amount.
    My Question: if at the same time 2-3 users are logging in the application, then whether by using the statefulsession bean, user integrity is maintained. OR do I need to use some other approach.
    Please help me... I know these questions are silly but that’s the way the technology can be learned.

    user8687589 wrote:
    Please help me... I know these questions are silly but that’s the way the technology can be learned.You are SO wrong. You learn it by:
    a) reading and studying
    b) really understanding not only the technology but also the theory behind the technology
    c) learning how it works, why it works, when it works and when you should or shouldn't use it
    A common denominator here is that you apply thought, reason and intelligence to get not only the basics but the big picture. Don't learn how to use it: UNDERSTAND it. That does not include just demanding all the answers in a forum and expect to have the answers spoon-fed to you. First read and study, then we'll talk.

  • Error:ejb package does not exist

    I seem to be having a problem with recognizing my EJB packages. I tried putting some quick & dirty java code directly into a jsp to see if I can use the EJB correctly. I keep getting compile errors that the package is not there:
    testEJB_jsp.java:8: package com.hs.ejbs does not exist import com.hs.ejbs.*;
    testEJB_jsp.java:66: package com.hs.ejbs does not exist
    com.hs.ejbs.XreviewsLocalHome rv;
    ^
    testEJB_jsp.java:73: package com.hs.ejbs does not exist
    rv = (com.hs.ejbs.XreviewsLocalHome) c.lookup("java:comp/env/ejb/XreviewsBean");
    I have tried putting the jar files in several locations and adding those locations to my class path. Apparently I still do not have the right path there.
    Here is my code:
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import= "javax.ejb.*" %>
    <%@page import= "javax.naming.*" %>
    <%@page import= "com.hs.ejbs.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>testEJB</title>
        </head>
        <body>
    <%
        SessionContext context;
        com.hs.ejbs.XreviewsLocalHome rv;
        try {
            javax.naming.Context c = new javax.naming.InitialContext();
         rv = (com.hs.ejbs.XreviewsLocalHome) c.lookup("java:comp/env/ejb/XreviewsBean");
        } catch(Exception e){
        out.println("ejb retrieval error e="+e);
        out.println("made it past the ejb retrieval code");
    %>   
        </body>
    </html>Assistance will be greatly appreciated.

    Hi,
    You can get this by putting your jar file in
    YourApp/WEB-INF/lib folderstill if you are not getting then extract the jar file in
    YourApp/WEB-INF/classes folderok
    bye

  • Javax.ejb package

    Hi
    I am new to java, i just want to understand this, does the javax.ejb package come with J2EE jar file or must i download an SDK of some sort to have it my environment? I am currently using NetBeans 5.5 and getting package does not exist error.
    Someone please clarify
    thank you

    Actually the javax.ejb package is not present ordinary J2SE.
    It's present in the J2EE v1.4. You can download this from http://java.sun.com/j2ee/1.4/download.html.
    The javax.ejb is present in the j2ee.jar which is present in C:\Sun\AppServer\lib\j2ee.jar (installed in C: drive).
    Before compiling, classpath needs to declared either in environmental variables or in the command prompt.
    classpath: C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\bin;
    Then your javax.ejb package will be included.

  • Import EJB packages missing.

    Hi,
    running few examples I noticed that
    when generating code from EJB CMP 2.0 the
    tool doesn't include (in the import section) the EJB packages. And so the code won't compile.
    Am I missing something ?

    Giuseppe,
    I tried a few examples using the 9.0.3 Mapping Workbench, and while the import line wasn't added, all declarations of EJB classes were fully qualified, so an import shouldn't be necessary for compilation.
    Can you give any more details?

  • EJB interview question

    dear friends
    if any body is having a real time ejb interview question , pl. send me a link for that.
    Thanks
    Gopal

    http://forum.java.sun.com/thread.jsp?thread=333894&forum=13&message=1363968

  • Question about javax.ejb package

    Hi,
    I am new to J2EE (Recently read a bood about it), and want to start writing some very simple session beans. However, I can't find any jar file that contains the interfaces that I have to implement (e.g. javax.ejb.EJBObject). I read somewhere that it's supposed to be in [JAVA_HOME]/lib/ext/j2ee.jar, but I can't find it.
    Also, what is a good starting container enviroment for a beginner? JBoss or Weblogic?
    Thanks in advand,
    AK

    In JBoss (at least the 3.0.4 I have installed right now), you'll find the EJB interfaces in $JBOSS_HOME/server/default/lib/jboss-j2ee.jar . Other parts of the API are in different jar files in the same directory.

  • Read-mostly pattern & EJB-QL question when using Weblogic 8.1

    I want to use the same implementation of an CMP entity bean for the
    read-mostly pattern in BEA Weblogic 8.1 (means for the reader and the
    writer class).
    Therefore my ejb-jar.xml contains the following statements:
    <ejb-name>MyBeanReadOnly</ejb-name>
    <local-home>mypackage.MyBeanLocalHome</local-home>
    <ejb-name>MyBean</ejb-name>
    <local-home>mypackage.MyBeanLocalHome</local-home>
    The weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml have the proper
    changes.
    I can deploy this bean & for the corresponding session bean binding
    and calling methods works for the (virtual) read-only and read-write
    entity beans.
    When we are using Xdoclet and ejb.finder methods e.g.
    @ejb.finder
    signature="java.util.Collection findAllValid(java.util.Date date)"
    result-type-mapping="Local"
    query="SELECT DISTINCT OBJECT(u) FROM MYTABLE AS u
    WHERE (?1 >= u.validFrom) AND ((u.validUntil IS NULL)
    OR (?1 <= u.validUntil))"
    the compilation and packaging runs well (as usual).
    During the deploy to Weblogic 8.1 we get errors, because the
    implementation of MyBeanReadOnly's findAllValid(...) should return
    objects of type MyBeanReadOnly instead of MyBean.
    Is there a way to solve this problem
    - and not write seperate reader and writer classes like
    the Weblogic 5.1 sample implementation?
    - and not use the CMP optimistic locking?
    Thanks for any further information.
    Wolfgang

    surya jeedigunta wrote:
    We are using Weblogic 8.1 SP2 and our Oracle Database is of version 9.2.0.5.
    I created user ID 'testa' in the database which owns all the objects.
    I created another userID 'testb' which has privileges to read, modify and delete data from tables owned by testa.
    I created public synonyms for all the objects owned by testa.
    I set the userid 'testb' and password in weblogic administrator window and set the same in reg.xml file also.
    Now when I tried to install the application, I got the following errors:
    BEGINNING INSTALLATION
    START INSTALLING FORMS SECTION
    Installing Form ./dataform/EventHistory.xml...<ErrorStack>
    <Error>
    <Code>FORM_045</Code>
    <Msg><![CDATA[ Form "Form" schema lacks some required columns:
    Field=ID column=ID does not exist in table=QSTForm
    Field=Name column=Name does not exist in table=QSTForm
    Field=Version column=Version does not exist in table=QSTForm
    Field=Content column=Content does not exist in table=QSTForm
    Field=LastModified column=LastModified does not exist in table=QSTForm ]]></Msg>
    </Error>
    <Error>
    <Code>FORM_7</Code>
    <Msg><![CDATA[ Failed to bind FDT columns, exception com.quovadx
    .bpms.core.CWException: (FORM_045) Form "Form" schema lacks some required column
    s:
    Field=ID column=ID does not exist in table=QSTForm
    Field=Name column=Name does not exist in table=QSTForm
    Field=Version column=Version does not exist in table=QSTForm
    Field=Content column=Content does not exist in table=QSTForm
    Field=LastModified column=LastModified does not exist in table=QSTForm ]]></Msg>
    </Error>
    My question is :
    does weblogic 8.1 works when I use public synonyms and user id other than the schema owner ID?
    I would appreciate if somebody could help me with this.
    Thank YouHi. I wish I could help you more, but so far, from what symptoms you've shown us,
    this is a purely internal Oracle issue to do with what your second user sees or
    can access. The fact that the user is logging in via JDBC or through WebLogic is
    irrelevant.
    Joe

  • Ejb packaging configuration

    Hi, there
    I am new to ejb 3 and struts. I have a question about how to set packaging configuration.
    For example:
    If I set output source directory: /ejbtest/www/WEB-INF/classes
    jar file: /ejbtest/www/WEB-INF/classes
    war file:/ejbtest/www
    and then put them into ear file, I will get class cast error. I figured it out because war file contains class files as well as jar file.
    So if I set output source directory: /ejbtest/build/classes
    jar file: /ejbtest/build/classes
    war file: /ejbtest/www
    then it will work as war file does not contain jar file now.
    The normal structure of a web application has classes folder within WEB-INF folder, and it has all the classes files. How can package my jar and war file properly, so I won't get cast error? Any help will be appreicated.
    Cheers
    Ming

    try to do this in the class where you get class cast exp.
    private static final long serialVersionUID = 1L;and build the war/jar

  • Adobe Reader 9.3.2 silent install package questions, please ...

    Hello:
      I am a network and Desktop Support person for a higher education facility.  I was asked to take over automating software application
    installs.
      I have a script process, created by Auto-It (Scite script editor), that has been working well for Adobe Reader 9.1 with updates to 9.1.1, 9.1.2 and 9.1.3 (found on the Internet) -
    msiexec /i \\<server>\<path>\AcroRead.msi TRANSFORMS=\\<server>\<path>\AcroRead_10132009.mst /passive /norestart /update \\<server>\<path>\AdbeRdrUpd911_all_incr.msp;\\<server>\<path>\AdbeRdrUpd912_all_incr.msp; \\<server>\<path>\AdbeRdrUpd913_all_incr.msp
      My questions:
    Is there a similar process for installing Adobe Reader 9.3 silently and then updating to 9.3.2?
    If so, what are the steps, ex. expand/extract the initial 9.3 .EXE, then create a transform using Orca/<transform making of choice>, etc.?
    With having read of some issues in this forum regarding Adobe Reader 9.3.2, should I continue using 9.1.3 and wait?
      Thank you for your time.

    Well we have a wiki where I work, and here is then entry I have created on how to deploy Adobe Reader. See if any of this helps, if not, we'll take it from there.
    Deployment
    It is HIGHLY recommended that you read and follow the directions of the deployment guide provided by Adobe located at http://www.adobe.com/devnet/acrobat/pdfs/deploying_reader9.pdf. The documentation located here is simply for a quick reference for those who have already read the guide.
    The rights to distribute Adobe Reader must be obtained by filling out the form found at http://www.adobe.com/products/reader/rdr_distribution1.html. After filling out the form and being accepted to distribute Adobe Reader, you will receive an email with a link to download the redistributable version of Adobe Reader. You will be prompted to download a .exe package containing the Reader MSI file. The general form of the command to convert a Nosso-compressed file to an MSI package is:
    <path to>\AdbeRdr90_en_US.exe [<switches>...]
    Switch
    Description
    -nos_ne
    Do not execute any file after installation (overrides the -e switch) This switch should be used if user only wants to extract the installer contents and not run the installer.
    -nos_o
    Specifies the name of folder where the contents of the expanded package are to be placed. The folder name should be enclosed in quotation marks. It is best if you do not use an existing folder, and there should be no space following the “-nos_o”.
    For example:<path to>\AdbeRdr90_en_US.exe -nos_o”TestFolder” -nos_ne
    Using the extracted MSI, create an Administrative Installation Point (AIP) using the command-line:
    msiexec /a <path to>\AcroPro.msi transforms=<path to>\AcroPro.mst
    The AcroPro.mst transform file is created by the Adobe Customization Wizard 9
    You can apply any patches that may have been released since the major version release. Use the command-line:
    msiexec /a <path to>\AcroPro.msi /p <path to>\AdbeRdrUpd931.msp;<path to>\AdbeRdrUpd932.msp
    Once all this is complete, you can fully deploy the software by running the command-line:
    <path to>\AcroRead.msi transforms=<path to>\AcroRead.mst /qb
    More information can also be found in the Enterprise Administration Guide

  • JDev/EJB Deployment Question

    After I have successfully deployed an EJB using JDeveloper(3.1.1.2)to OSE (8.1.7)using JDeveloper's Deploy feature, do I still need to write the deployment descriptor manually and use the deployejb command tool? Is the same true when deploying to OAS9i?

    If you're using WLS 9.x, then I would package the ejb-client-jar as a library.
    If you're using an older version, then you have the 2 choices you mentioned (packaging it in each war file or putting in on the classpath.)
    The advantage of the classpath is you have the file in only 1 place. The disadvantage is you must restart the server to update it.
    Placing it in each webapp means you have N copies of the jar file, but you'll be able to take an update by just redeploying the webapp not restarting the entire server.
    WLS 9.x's libraries give you the best of both worlds. You only manage 1 copy of the file, but you do not need to restart the server. You can also have multiple versions of a given library.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • EJB Deployment Question

    If your servlets are running in the same instance as your EJBs, do you
              need to make the EJBs clusterable (i.e. set the deployment descriptor
              properties)? We have the same EJBs deployed on each server (5.1 SP8)
              and we have been getting conflict handler errors for each EJB when we
              start the second server (shown below)
              Wed Aug 01 09:05:37 CEST 2001:<I> <ConflictHandler> ConflictStop
              com.es.messaging.ESMessageQueueManagerHome_EO:com.es.messaging.ESMessageQueueManagerBeanEOImpl
              (from
              [email protected]:[7001,7001,7002,7002,7001,-1])
              Support tells us that if EJBs are deployed on every server in a cluster,
              then they MUST be configured to be clusterable. Why is that? Since
              they are running in the same JVM as the servlets, we don't want EJB load
              balancing or fault tolerance.. I would think that the non-clusterable
              EJBs would not be added to the the cluster-wide JNDI. Also, we have
              deployed this way in SP 5 and 6.0 SP2 and we never got any conflict
              errors. If we do need to make them clusterable, can someone explain
              why? Thanks.
              Kirk
              

    If you're using WLS 9.x, then I would package the ejb-client-jar as a library.
    If you're using an older version, then you have the 2 choices you mentioned (packaging it in each war file or putting in on the classpath.)
    The advantage of the classpath is you have the file in only 1 place. The disadvantage is you must restart the server to update it.
    Placing it in each webapp means you have N copies of the jar file, but you'll be able to take an update by just redeploying the webapp not restarting the entire server.
    WLS 9.x's libraries give you the best of both worlds. You only manage 1 copy of the file, but you do not need to restart the server. You can also have multiple versions of a given library.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Problem in import ejb package in jsp

    Hi friends
    I am doing one small project with Eclipse Europa,jsp , EJB. with XDoclet, weblogic server
    I first created all my jsp files as one project.Then i created one enterprise application project with XDocklet , after that i imported all the jsp files using import option in eclipse.
    at development time i am not getting any problem.after deployment when i try to run the jsp files i am getting error of
    Compilation of 'C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java' failed:
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
    probably occurred due to an error in /jspPages/testing.jsp line 8:
    <%@page import = "order.headsess.*" %>
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 21:
    HeadHome home = null;
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 22:
    Head remote =null;
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 96:
    home =HeadUtil.getHome(env);
    Full compiler error(s):
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
    import order.headsess.*; //[ /jspPages/testing.jsp; Line: 8]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
    symbol : class HeadHome
    location: class jsp_servlet._jsppages.__testing
    HeadHome home = null; //[ /jspPages/testing.jsp; Line: 21]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
    symbol : class Head
    location: class jsp_servlet._jsppages.__testing
    Head remote =null; //[ /jspPages/testing.jsp; Line: 22]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
    symbol : variable HeadUtil
    location: class jsp_servlet._jsppages.__testing
    home =HeadUtil.getHome(env); //[ /jspPages/testing.jsp; Line: 96]
    ^
    4 errors
    Fri Oct 26 01:40:14 GMT+08:00 2007

    Hi friends
    I am doing one small project with Eclipse Europa,jsp , EJB. with XDoclet, weblogic server
    I first created all my jsp files as one project.Then i created one enterprise application project with XDocklet , after that i imported all the jsp files using import option in eclipse.
    at development time i am not getting any problem.after deployment when i try to run the jsp files i am getting error of
    Compilation of 'C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java' failed:
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
    probably occurred due to an error in /jspPages/testing.jsp line 8:
    <%@page import = "order.headsess.*" %>
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 21:
    HeadHome home = null;
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 22:
    Head remote =null;
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
    probably occurred due to an error in /jspPages/testing.jsp line 96:
    home =HeadUtil.getHome(env);
    Full compiler error(s):
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:20: package order.headsess does not exist
    import order.headsess.*; //[ /jspPages/testing.jsp; Line: 8]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:51: cannot resolve symbol
    symbol : class HeadHome
    location: class jsp_servlet._jsppages.__testing
    HeadHome home = null; //[ /jspPages/testing.jsp; Line: 21]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:52: cannot resolve symbol
    symbol : class Head
    location: class jsp_servlet._jsppages.__testing
    Head remote =null; //[ /jspPages/testing.jsp; Line: 22]
    ^
    C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_loginProcess_WebContent_login\jsp_servlet\_jsppages\__testing.java:226: cannot resolve symbol
    symbol : variable HeadUtil
    location: class jsp_servlet._jsppages.__testing
    home =HeadUtil.getHome(env); //[ /jspPages/testing.jsp; Line: 96]
    ^
    4 errors
    Fri Oct 26 01:40:14 GMT+08:00 2007

  • Quick iPhone packager question...

    Hello,
    I am interested in purchasing Flash CS5 so I can make an iPhone app that involves PDF opening and saving, but I had a question to all those who have used AlivePDF... would it work with the packager for iphone to make an iPhone app?
    If not...
    With the rescources Flash CS5 has with Air 2...would I be able to open a PDF, draw on it, then save it to the iPhones desktop? Or would that just be an AlivePDF thing? If AlivePDF doesn't work with the iPhone packager, is there any way I could handle opening/saving PDF's with anything else?
    Thanks in advance for the reply.
    -mightybotme

    Hi mightybot,
    I checked with Thibaut, and he indicated AlivePDF should work with AIR 2 mobile profile and the Packager for iPhone.  Let us know your results!

  • Package question - what are the uses for  /var/sadm/pkg ?

    I'm writing packages and noticed once a packages is installed using pkgadd, that files and dirs are created in the /var/sadm/pkg directory. I'm specificly intereseted in the pkginfo file - it contains all the variables from my request script and their values. My question is what are all the uses for this file?
    I've noticed that pkginfo reads from it but would there be any problem deleting certain lines from that file (lines not used by pkginfo - just variables used in the request script that I'd really rather not have floating around in a publicly accessable file).
    thanks!
    Bob

    I'm refering specificly to the file "/var/sadm/pkg/<pkgName>/pkginfo" - it's created during pkgadd and contains all the variable-value pairs from the packages pkginfo file as well as any variables used in the request script and copied to it's temporary response file. I'm not refering to the pkginfo file that you create as a package infofile component.
    I want to remove, from the /var/sadm/pkg/<pkgName>/pkginfo file, certain var-value pairs that were used in my request scripts (not part of the InfoFile/pkginfo component). Otherwise, any user can look at this file or run 'pkgparam <pkgName>' and get that sensative info.
    To the best of my knowledge, this file is only used by the commands pkgparam and pkginfo. Are there other uses?
    My worries are:
    -is it OK to remove lines manually during the postinstall script?
    -will doing this cause problems with any admin or package maintenance functions?
    Thanks-
    Bob

Maybe you are looking for