ADFBC Where to define labels for custom Application Module method arguments

I was wondering if there was a "good place" to define these labels in ADF Business Components. I can just change them for the UI for my current project, but I thinking there might be a better way.
Thanks,
Brian

Hi,
I think you can't in BC, but you can in ADF. If you drag a method onto the client then it creates a method binding with argument itemes below. In addition, look in the executable section, it creates variables for each. This is where you can define labels so that they can be translated
Frank

Similar Messages

  • Best practice for calling application module methods and plsql code

    In my application I am experiencing problems with connection pooling, I seem to be using a lot of connections in my application when only a few users are using the system. As part of our application we need to call database procedures for business logic.
    Our backing beans, call methods on the application module which in turn call a database procedure. For instance in the backing bean we have code like this to call the application module method.
    // Calling Module to generate new examination/test.
    CIGAppModuleImpl appMod = (CIGAppModuleImpl)Configuration.createRootApplicationModule("ky.gov.exam.model.CIGAppModule", "CIGAppModuleLocal");
    String testId = appMod.createTest( userId, examId, centerId).toString();
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("tid",testId);
    // Close the call
    System.out.println("Calling releaseRootApplicationModule remove");
    Configuration.releaseRootApplicationModule(appMod, true);
    System.out.println("Completed releaseRootApplicationModule remove");
    return returnResult;
    In the application module method we have the following code.
    System.out.println("CIGAppModuleImpl: Call the database and use the value from the iterator");
    CallableStatement cs = null;
    try{
    cs = getDBTransaction().createCallableStatement("begin ? := macilap.user_admin.new_test_init(?,?,?); end;", 0);
    cs.registerOutParameter(1, Types.NUMERIC);
    cs.setString(2, p_userId);
    cs.setString(3, p_examId);
    cs.setString(4, p_centerId);
    cs.executeUpdate();
    returnResult=cs.getInt(1);
    System.out.println("CIGAppModuleImpl.createTest: Return Result is " + returnResult);
    }catch (SQLException se){
    throw new JboException(se);
    finally {
    if (cs != null) {
    try {
    cs.close();
    catch (SQLException s) {
    throw new JboException(s);
    I have read in one of Steve Muench presentations (Oracle Fusion Applications Team' Best Practises) that calling the createRootApplicationModule method is a bad idea, and to call the method via the binding interface.
    I am assuming calling the createRootApplicationModule uses much more resources and database connections that calling the method through the binding interface such as
    BindingContainer bindings = getBindings();
    OperationBinding ob = bindings.getOperationBinding("customMethod");
    Object result = ob.execute()
    Is this the case? Also is using getDBTransaction().createCallableStatement the best way of calling database procedures. Would it be better to expose plsql packages as webservices and then call them from the applicationModule. Is this more efficient?
    Regards
    Orlando

    Thanks Shay, this is now working.
    I successfully got the binding to the application method in the pagedef.
    I used the following code in my backing bean.
    package view.backing;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    public class Testdatabase {
    private DCBindingContainer bindingContainer;
    public void setBindingContainer (DCBindingContainer bc) {this.bindingContainer = bc;}
    public DCBindingContainer getBindingContainer() {return bindingContainer;}
    public static String validateUser()
    // Calling Module to validate user and return user role details.
    System.out.println("Getting Binding Container from Home Backing Bean");
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    System.out.println("Obtain binding");
    OperationBinding operationBinding = bindings.getOperationBinding("calldatabase");
    System.out.println("Set username parameter");
    operationBinding.getParamsMap().put("p_userId",userId);
    System.out.println("Set password parameter");
    operationBinding.getParamsMap().put("p_testId",examId);
    Object result = operationBinding.execute();
    System.out.println("Obtain result");
    String userRole = result.toString();
    System.out.println("Result is "+userRole);
    }

  • How to use Cache Management Library (CML) for custom applications?

    Hello,
    We are planning the migration of multiple applications (J2EE, Portal, Web-Dynpro for Java) from 7.01 to 7.3 and we would like to replace some custom cache implementations with a central cache management provided by the SAP Web-AS Java.
    Several SAP standard services (e.g. UME, Configuration Manager, Scheduler) seems to use the "Cache Management Library" (CML):
    [http://help.sap.com/saphelp_nw73/helpdata/en/4a/f833eb306628d2e10000000a42189b/frameset.htm]
    Such caches can be monitored using SAP Management Console (AS Java Caches).
    Portal Runtime (cache_type=CML) and Web Page Composer can also be configured to use CML:
    [http://help.sap.com/saphelp_nw73/helpdata/en/49/d822a779cf0e80e10000000a42189b/frameset.htm]
    [http://help.sap.com/saphelp_nw70ehp2ru/helpdata/en/13/76db395a3140fcb17b8d24f5966766/frameset.htm]
    So our questions:
    How to use CML for custom applications?
    Is there any example or documentation available?
    Kind Regards,
    Dirk

    Thanks Vidyut! You've answered my question.
    I placed the jar file in the $CATALINA_HOME/shared/lib directory. But where should I place the taglib TLD file? And how should I reference it in web.xml?
    Currently, my web.xml is as follows and it doesn't work.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <taglib>
    <taglib-uri>http://abc.com</taglib-uri>
    <taglib-location>c:\Tomcat\shared\lib\mytags-taglib.tld</taglib-location>
    </taglib>
    </web-app>
    Thanks again!
    Joe

  • Oracle Application Server of R12.1.x (10.1.3) for Custom Application Deploy

    Hi Friends,
    Can we use Oracle Application Server of R12.1.x (10.1.3) for Custom Application Deployment(jar files) instead of going for seperate Oracle 10g Applicatuion Server.
    Let us know the Licensing information as well
    Regards
    DB

    Hi,
    Personally i would'nt suggest using the Application server, due to
    1. If you need down time for application patching, you custom application will also be down.
    2. If you can not start 10g Application server (The one came with R12) for some issues, it will also affect your custom application.
    3. If you are upgrading/patching 10g application server (the one came with R12), you would not know what will the affect of this on custom application.
    E-Business Suite Software Development Kit for Java (includes AppsDataSource, Java Authentication and Authorization Service) Readme - Patch 9863609 [ID 974949.1]
    How to add custom JAR files to Apache OC4J Classpath in R12 instance? [ID 433241.1]
    Regarding the licensing,
    Please speak to local sales representative for licensing requirements.
    You can also see
    http://www.oracle.com/corporate/pricing/pricelists.html
    Thanks

  • [svn:fx-trunk] 10050: Per-Module Style Management: Create a style manager for each application/module.

    Revision: 10050
    Author:   [email protected]
    Date:     2009-09-08 07:43:16 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Per-Module Style Management: Create a style manager for each application/module.
    The singleton StyleManager is still the only style manager that is currently used.
    QE notes: None.
    Doc notes: None.
    Bugs:
    Reviewer: Alex
    Tests run: checkintests, Managers/StyleManager
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IFlexModuleFactory.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/IModuleInfo.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleLoader.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How do I call an Application Module method from a EntityImpl class?

    Guys and Gals,
    Using Studio Edition Version 11.1.1.3.0.
    I've got a price update form, that when submitted, takes the part numbers and prices in the form and updates the corresponding Parts' price in the Parts table. Anytime this Parts view object's ReplacementPrice attribute is changed, an application module method needs to be called which updates a whole slew of related view objects. I know you can modify view objects via associations (How do I call an Application Module method from a ViewObjectImpl class? but that's not what I'm trying to do. These AppModuleImpl methods are the hub for all price updates, as many different operations may affect related pricing (base price lists, price buckets, etc) and hence, call the updatePartPricing(key) method.
    For some reason, the below code does not call / run / activate the application module's method. The AppModuleDataControl exists and recordPartHistory(key) is registered and public. At runtime, the am.<method> code is simply ignored, and as a weird side-effect, I cannot navigate out of my current page flow.
      public void setReplacementPrice(Number value)
        setAttributeInternal(REPLACEMENTPRICE, value);
        AppModuleImpl am = (AppModuleImpl)this.getDBTransaction().findApplicationModule("AppModuleDataControl");
        Key key = new Key(new Object[]
            { getPartNumber() });
        am.recordPartHistory(key);  // AppModuleImpl method which records pricing history
        am.updatePartPricing(key); // AppModuleImpl method which updates a whole slew of related pricing tables
      }Any ideas?

    Thanks Timo.
    Turns out the code provided was correct, but the AppModuleImpl method being called was not. A dependent ViewObject wasn't returning the row I was expecting. I then tried to perform some operations on that row, which in turn ... just stopped everything, but didn't give me an error.
    It was the lack of the error that threw me off. I had never messed with calling an AppModuleImpl method from the EntityImpl so I assumed that's what was messing up.
    You are correct. It is available from the ViewRow, but I thought it better to put it in the EntityImpl. This method will be called every time the replacement cost is modified. If I didn't put it in the EntityImpl, I'd have to remember to call it every time a replacement cost changed.

  • How to invoke Application Module method from entity object methods

    Hi,
    We have an existing Application Module which provides some validation logic. We are using OperatingBinding or getting the Application Module instance from the bindings and then invoking the app module methods in the view controller project.
    But in our current scenario, We need to invoke the application module method from the setAttribute method in the entity object when ever an entity attribute value is changed . I believe we can call createRootApplicationModule method to create application module instance. But this may lead to performance overhead.
    Can you please suggest, if there is any alternative to invoke the application module method inside the business components.
    What is the best way to create

    We have a pricing service, which was developed as a separate application. We need to invoke the pricing service with the change in certain attributes of the entity object and update some of the attributes of the current entity object. At present we are handling these calls to the pricing service in the ui layer in the valueChangeListener.
    But we would like to move this service call into setAttribute method as we are unable to prevent the call to the service if the model validations fail. I am looking for the best possible approach for invoking the service calls from the entity objects.
    Thanks and Regards,
    S R Prasad

  • Default Code Generation for a Custom Class for an Application Module

    hi all
    Oracle® Fusion Middleware
    Fusion Developer’s Guide for Oracle Application Development
    Framework
    11g Release 1 (11.1.1)
    with Jdeveloper TP3 ,
    By default, the application module Java class will look similar to what you see in
    Example below when you've first enabled it. Of interest, it contains:
    ■ Getter methods for each view object instance in the data model
    ■ A main() method allowing you to debug the application module using the
    Business Components Browser
    [package devguide.model;
    import devguide.model.common.StoreServiceAM;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jbo.server.ViewObjectImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class StoreServiceAMImpl extends ApplicationModuleImpl {
    /** This is the default constructor (do not remove) */
    public SRServiceImpl() { }
    /** Sample main for debugging Business Components code using the tester */
    public static void main(String[] args) {
    launchTester("devguide.model", /* package name */
    "SRServiceLocal" /* Configuration Name */);
    /** Container's getter for YourViewObjectInstance1 */
    public ViewObjectImpl getYourViewObjectInstance1() {
    return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
    // ... Additional ViewObjectImpl getters for each view object instance
    // ... ViewLink getters for view link instances here
    when i try this i didn't find the default generation for main method
    have i do something before enable custom java file for Application module
    hope to hear from you soon

    hi nonStop
    Since you are using Jdeveloper TP3, this might be a better place to ask your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Using rich text editor (RTE) for custom applications

    Our users enter texts on two places:
    1) In Oracle Portal in text-items using the Rich Text Editor.
    2) In text-fields in a custom application using html-tags <textarea>blabla</textarea>. For formatting the users currently have to type in html-tags themselves. Now we want to provide them an html-editor.
    We would prefer to use the Rich Text Editor also for the custom application. However, that is integrated in Portal and the java-scripts are not easy to follow.
    Have you tried something similar? So, did you use the Rich Text Editor for your own application? If yes, how?
    If not, a very good alternative would be the qwebeditor (see http://www.qwebeditor.com). Did anybody replace the standard Portal rich text editor with the qwebeditor? In the Portal guides there are instructions about replacing the Portal rich text editor by another editor, but it is not clear if this will also work with the qwebeditor.
    Thanks for your respons !
    Best regards, Jan Willem Vermeer

    Hi Jan,
    I have configured FCKeditor in a few clients, and the process it's pretty straight forward, you can use the steps in the document (http://www.oracle.com/technology/products/ias/portal/pdf/cm_rte_1014_features.pdf) .
    Basically you download FCKeditor and put it in your apache server (you can put it unde rthe htdocs folder) after that, all you need to do is modify $ORACLE_HOME/portal/images/webword/buildUIHTML.html to reference the FCKeditor JS and CSS, and you can do the same type of reference for your custom apps.
    Regards,
    Juan

  • 9.7.3 Default Code Generation for a Custom Class for an Application Module

    hi all
    Oracle® Fusion Middleware
    Fusion Developer’s Guide for Oracle Application Development
    Framework
    11g Release 1 (11.1.1)
    with Jdeveloper TP3 ,
    By default, the application module Java class will look similar to what you see in
    Example below when you've first enabled it. Of interest, it contains:
    ■ Getter methods for each view object instance in the data model
    ■ A main() method allowing you to debug the application module using the
    Business Components Browser
    [package devguide.model;
    import devguide.model.common.StoreServiceAM;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewLinkImpl;
    import oracle.jbo.server.ViewObjectImpl;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class StoreServiceAMImpl extends ApplicationModuleImpl {
    /** This is the default constructor (do not remove) */
    public SRServiceImpl() { }
    /** Sample main for debugging Business Components code using the tester */
    public static void main(String[] args) {
    launchTester("devguide.model", /* package name */
    "SRServiceLocal" /* Configuration Name */);
    /** Container's getter for YourViewObjectInstance1 */
    public ViewObjectImpl getYourViewObjectInstance1() {
    return (ViewObjectImpl)findViewObject("YourViewObjectInstance1");
    // ... Additional ViewObjectImpl getters for each view object instance
    // ... ViewLink getters for view link instances here
    when i try this i didn't find the default generation for main method
    have i do something before enable custom java file for Application module
    hope to hear from you soon

    hi nonStop
    Since you are using Jdeveloper TP3, this might be a better place to ask your question:
    "JDeveloper and OC4J 11g Technology Preview"
    JDeveloper and OC4J 11g Technology Preview
    success
    Jan Vervecken

  • Issue with NI-CAN 2.7.5 DLL(s) install for custom applications

    We have custom applications built on top of NI-CAN for Windows using the MS Visual C lib and header. In the past, to run our applications, we simply installed the latest NI-CAN package. Our applications would run, find and access any runtime DLLs, and be fine.
    With NI-CAN 2.7.5 though, we are seeing errors in our applications that suggest they cannot see the required DLL necessary to operate. The error is:
    "A dynamic link library (DLL) initialization routine failed."
    Did anything change in 2.7.5 with regards to the placement or installation DLLs required to run custom NI-CAN applications?

    I was able to get a little more information. Using Visual Studio to get a debug log, I see the following. With 2.7.4, the NI-CAN DLLs load and it work fine:
    'MATLAB.exe': Loaded 'E:\jobarchive\Btm1\2014_02_21_h12m30s17_job89749_pass\matlab\toolbox\vnt\vnt\mexNICAN.mexw32', Symbols loaded.
    'MATLAB.exe': Loaded 'C:\Windows\System32\Nican.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanFrm.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalu.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalut.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipal32.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanpu.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanCfq.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\nicanDBA.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanTsk.dll'
    'MATLAB.exe': Loaded 'C:\Windows\System32\NiSpyLog.dll'
    On 2.7.5 though, additional error information shows up:
    'MATLAB.exe': Loaded 'T:\12\jpyle.Btm1.j86236.sb\matlab\toolbox\vnt\vnt\mexNICAN.mexw32', Symbols loaded.
    'MATLAB.exe': Loaded 'C:\Windows\System32\Nican.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanFrm.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalu.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipalut.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\nipal32.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NIcanpu.dll', Cannot find or open the PDB file
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanCfq.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\nicanDBA.dll', Binary was not built with debug information.
    'MATLAB.exe': Loaded 'C:\Windows\System32\NicanTsk.dll', Cannot find or open the PDB file
    'MATLAB.exe': Unloaded 'T:\12\jpyle.Btm1.j86236.sb\matlab\toolbox\vnt\vnt\mexNICAN.mexw32'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\Nican.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NicanTsk.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NIcanFrm.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NicanCfq.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nicanDBA.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\NIcanpu.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipalu.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipal32.dll'
    'MATLAB.exe': Unloaded 'C:\Windows\System32\nipalut.dll'
    You can see it tries to load under 2.7.5, get a bunch of PDB file issues and then immediately unloads.
    Inspecting the DLLs under 2.7.4 vs 2.7.5, they look identical except for the nicanDBA.dll. That's the only one that has a version difference between NI-CAN versions. In both 2.7.4 and 2.7.5, all DLLs are being properly installed to \windows\system32 as expected so both sets are fully accessible path-wise.
    Please advise.

  • Common Supplier master database for Custom Applications and Oracle Financia

    Hi,
    We would like to build a custom applications (Multiple) for our organization core business operations using .NET on the database which is being used by Oracle financials R12.1.1. These custom applications are going to have its own application servers. BUT the database is common for both custom applications and oracle financials. This database is going to house on the Oracle RAC.
    We would like to have a common supplier master for both custom applications and Oracle payables. Could you please help me with below questions?
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    Thanks,

    Hi,
    Please find my comments below:
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    A: You may use Supplier Open interface and Sites Interface to Create the Supplier Records. I don't think there is any API to update Supplier Info. Since both the applications exist on same database, I think you can query the Vendor tables from Custom applications also.
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    A. Designing different tables depending on Custom Application ID and Vendor ID seems to be the only option.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    A.One alternative is to create a single supplier with each FEIN/SSN number as site. Second one is to create Supplier Name concatenated with FEIN/SSN numbers as different suppliers and store the actual name in some DFF or other field. Standard functionality won't allow such duplication (Cannot Create Supplier/Employee With The Same Name Of Existing Supplier [ID 743430.1]).
    Hope it helps.
    Regards,
    Sridhar

  • Solution Manager for custom application

    Hi all,
    I would like to know how Solution Manager can be used as a support for custom development projects.
    For example, does SM support the adoption of Scrum?
    How can I use it to keep track of development tasks shared by developers?
    Does it support UML or other software design tools?
    Thanks, regards
    Vincenzo

    >
    VINCENZO TURCO wrote:
    > Hi all,
    > I would like to know how Solution Manager can be used as a support for custom development projects.
    > For example, does SM support the adoption of Scrum?
    > How can I use it to keep track of development tasks shared by developers?
    > Does it support UML or other software design tools?
    >
    > Thanks, regards
    > Vincenzo
    Hello Vincenzo,
    For Development Projects, Solution Manager follows the ASAP methodology for implementing a SAP Solution. This method can also be adopted for your own Custom Development Projects.
    Whether Solution Manager Support SCRUM, Well to a extent yes as the implementation project has different phases and milestones. However there isnt a 1 to 1 match.
    How do you keep track of the shared tasks by developers. You have a roboust Change Management Module built in Solution manager which can be used.
    At the moment Solution Manager can be integrated with the development workbenches for SAP ABAP and SAP JAVA. You might have to work around it a bit to Integrate any other Design tools.
    Hope that this answers your query.
    Regards
    Amit

  • Setting Classpath in TomCat 5.5 for Custom Application

    I seem to have messed up my application. I cant access some of my java classes written and deployed in the WEB-INF/classes directory from a JSP Page stored in my app root.
    However, the fun part of this is if I create a package in WEB-INF/classes, store my java/class files in it and access these from the JSP using import, it works pretty fine. I'm unable to debug the scenario.
    I've given only the context path for the application in the server.xml. I suppose that would be sufficient for my application to be deployed, and need not specify any other classpaths anywhere.
    Please help me and correct me if i'm wrong.
    fun_one

    As of Java 1.4, if any class is in a package, then it can no longer access or import classes from the default (non) package.
    As of Tomcat 5.0, all TC classes, including the translated JSP pages, are in a package. That means that they can not access your classes that are not in a package.
    Your only option is the best one you should always do anyway: put all the classes in a package.

  • Is it proper for an application module has 300 views in the data model?

    Based on my understanding, all view object instances are initialized at the same time as the application module.
    It follows that when an application module is associated with a user session, the queries of each view object in the data model are executed.
    ie. if the data model has 325 view object instances, 325 queries will be executed.
    This doesn't seem efficient:
    1. As each user session only need to access a subset of the view objects (for examples 35 views), the rest of view objects need not be instantiated for that session.
    2. Performance may be slow on executing all 325 queries at one time, even worse when some queries are complex queries.
    Am I correct on this?
    In this case, will it be better to instantiate the view objects using the view object definition at runtime instead of adding all of them to the application module at design time?

    No, that's not the default behaviour.
    Assuming you're talking JDev 11, the AM on it's General tab as a Tuning option where you can set the loading of the VOs to Lazy or Non-Lazy, Lazy is the default. In turn each VO on their General tab also has a Tuning option of similar nature.
    Online documentation says:
    Lazy LoadingSelect to choose lazy loading. In this case, the application module instance is created without any of its components. Your view object and nested application module instances will not load until the first time they are used. For example, when lazy loading is enabled, a view object is instantiated only when the application accesses it. This will make start-up time faster.
    Non-lazy Loading
    Select to choose non-lazy loading. Your view object and nested application module instances will load when the application starts up. For example, suppose the application module you are editing defines three view objects and two nested application modules (which appear in the Application Module Instance section of the Data Model page over the application module overview editor). When lazy loading is disabled, the application module instance is created together with all three view objects and both nested application modules.>
    So in essence as you describe for each session, if we're using the Lazy setting, even though you have 325 VOs within an AM, if the user within the session only visits 35 queries, only 35 queries should fire.
    Does this help?
    CM.

Maybe you are looking for

  • IPod screen not working / turning itself on and on by itself

    Yesterday I took my iPod outside as normal and tried to use the touchscreen to play music. It did not react when my fingers touched the screen. The buttons on the top and the bottom were working normally, but when I could not for example use my finge

  • Merge Into works in SQL, fails in PL/SQL

    Database is 9i (Oracle9i Enterprise Edition Release 9.2.0.5.0)<br> <br> The 9i documentation--PL/SQL User's Guide and Reference Release 2 (9.2)--makes it seem like this is part of the PL/SQL language, but the compiler disagrees.<br> <br> Anyone else

  • Locking R/3 User

    Hi, We are developing a Webdynpro application. We have multiple screens or views to create or update a record related to any particular r/3 user. Since we have multiple screens and we are updating data for each screen. How can we lock R/3 user till t

  • Can't connect or sync iPod mini

    We gave our kids our old iPod minis. They work fine and are still in great condition.  Not sure when we last synced them, but they will not connect to any Windows desktop or Mac laptop in our house.  I switched out the cable, reinstalled iTunes, trie

  • Hp office jet 6700 (Mac)-wireless connection keeps failing...

    Hi-I am hoping that someone has a solution for this. We have an HP Officejet 6700 that has worked flawlessly till last week. The wireless signal keeps dropping. I think that is the issue because if I go into Setup on the printer itself and go to Netw