BC4J Documentation

The usage of BC4J is quite cucumbersome.
Does anyone know any good documentation with focus on usage and not on functionalities ?
TIA
Tullio

JDeveloper 3.2 is supposed to have a really good (rewritten) documentation, including BC4J...but don't take my word for it ;-)
I also know there's a book being written about it, but it's still not finished..
null

Similar Messages

  • Update table with BC4J results in ORA-1002: fetch out of sequence

    In our BC4J application, any table updates result in an ORA-1002: fetch out of sequence error message. The code looks something like this:
    EmpViewImpl voEmp = getEmpView ();
    voEmp.setWhereClause ("id = :0");
    voEmp.setWhereClauseParam (0, iEmpId);
    voEmp.executeQuery ();
    if (voEmp.hasNext ()) {
    EmpViewRowImpl rowEmp = (EmpViewRowImpl) voEmp.first ();
    rowEmp.setFirstName ("Larry");
    getTransaction ().postChanges ();
    getTransaction ().commit ();
    This has something to do with a bug (according to the Oracle JVM release notes). Still, this is fairly basic BC4J code, copied straight from the BC4J documentation. So why won't it work? Is there a workaround?
    I'm currently replacing all this code with straightforward executeCommand ("update emp set firstname='.......") commands. This isn't problem-free either, because the remaining BC4J-code isn't always directly aware of any changes made in the database this way.
    We use Oracle 8.1.6.1.0 on Linux RedHat 6.2, and JDeveloper 3.1 on Windows 2000. We've deployed the BC4J application modules as EJB's into the Oracle 8i JVM.
    Any help is much appreciated!!!

    We've got the exact same problem!
    Please help us....

  • How can I use sequences in BC4J

    Hello!
    I read in BC4J documentation about how can I use database sequences to generate next value with BC4J. My question is:
    If I don't want to use DB seq what can I do? We have DBSequence class. I look into it and see there not only a DB seq allowed.
    Can anybody help me? I don't want to use DB sequences.

    Don't quite understand the question. If you don't want to use DB sequences, then just override the create() method in your entity object and use call a setter method to set the attribute ID to what you want if you want to do this in an "eager" way that the user would immediately see in a newly-created row...
    ...or you can write code in an overridden prepareForDML method if you want to set a value for one or more attributes just before the changes are posted to the database.

  • BC4J and Ingres database

    Can anyone help me with I find a list of databases against which I can run a BC4J based application, as well as the limitations of using BC4J against non-Oracle databases? The BC4J documentation specifies SQL92 databases, but only mention DB2 and SQL Server.
    I need port my BC4J-based application (currently running on a Oracle 9i database)to run against an Ingres II database.
    Thanks in advance
    Andrew

    Andrew,
    We have tested BC4J against SQL server and Sybase, and I don't know how it would run against Ingres. This howto gives more details, including the limitatations of using BC4J against non-Oracle databases.
    http://otn.oracle.com/products/jdev/howtos/bc4j/bc_foreign_db_intro.html
    Thanks
    Blaise

  • How to configure Application module pooling?

    I want to know wheather bc4j container itself manages Application module pooling if yes then please tell me is there any file to set parameters for congiguration like one which we have for apache web server.
    If no then please let me know how to create applicatiom module pooling.
    Thanks in advance.

    Application module pooling is configurable through an application module configuration. In order to edit an application module configuration you may right click an application module and select Configurations...
    The BC4J data web beans and the BC4J JSP datatags are both application pool clients. The BC4J documentation includes descriptions of the application pool properties. The documentation also includes a code sample which illustrates how to write your own pool client.

  • Enable Design Browser Client (HTTP 404)

    I've completed the design time and runtime installs for OWB, however, when I try to enable warehouse builder design browser client (section 2.4 of the OWB9.2InstallGuide docs) I get the initial screen from HTTP Server listing the following:
    Apache Documentation
    JServ Documentation
    Demo
    Oracle JSP Documentation
    Demos
    SOAP Release Notes and Documentation
    Mod_SSL Web Site
    OpenSSL
    FastCGI Developer's Kit Documentation
    mod_perl Web Site
    Mod_plsql Configuration Menu
    BC4J Documentation and Samples
    XML Developers Kit XDK Documentation
    Mod_OSE Documentation
    When I select "mod_plsql Configuration Menu" I get a HTTP 404 error. Seems like it should be a simple config change, but I'm not sure what that would be. Anyone run into this. Any help would be appreciated.
    TIA

    Hi Mahesh,
    I'm guessing your port is 7778 (you can find that in the file: <Oracle_home_DB>\Apache\Apache\conf\httpd.conf. Look for "Port 777" using Find in the file).
    Take a look at the configuration guide for OWB for more details but these are the highlights:
    The first thing to do is going to http://locahost:7778
    There you you click the MOD PL/SQL entry. Create a Database Access Descriptor, use the same name for this as the OWB Design repository schema.
    Then start the OC4J and launch the design browser from the programs owb entry.
    That should work.
    For the Runtime browser there is no need to create a dad, just start the OC4J and use the menu entry.
    Hope this helps,
    Jean-Pierre

  • BC4J, jsp data tags, jbo tags , documentation

    Hi everybody
    Would you please advise me where I can find information and documentation preferably in .pdf format about jbo jsp tags for working with BC4J?
    Thanks in advance

    Hello
    .CHM (or "chum") are Microsoft's way of bundling help files, and require Internet Explorer to be installed on your system. If you want to view the chum files without starting up JDeveloper, you can double-click a .chm file (start with jdeveloper.chm to work with the entire set).
    As an additional solution, we've provided HTML versions of the docs which are viewable between the major browsers on the different platforms (you'll need javascript enabled).
    The doc set was not designed to be compiled/distilled into pdf and is not recommended.
    Thanks for your comments!
    orlando

  • Technical documentation for BC4J

    There seems to be very little tech info available for BC4J. Could someone please point me in the right direction??

    I'd suggest starting with the tutorials on BC4J (included with the online help), then dig into the main online help documentation on BC4J (there are more than 200 topics on BC4J). In addition to that, you can look at all the BC4J Javadoc in the reference section of the online help. There are also several high quality How To documents and other papers ("Simplifying J2EE and EJB Development with BC4J" is a great starting point) available through the JDeveloper OTN page.
    SteveA (JDev Team)

  • Documentation for BC4J/UIX

    Hi,
    I am looking for some documentation for BC4J UIX . I went to this link http://envoy.us.oracle.com:8888/uix/documentation.uix?event=doc where i found
    http://bali.us.oracle.com:8888/bc4j/welcomebc4j.uix.
    But the above gives a 404 error. Please point me to some place which has the documentation for BC4J UIX.
    Thanks,
    Gaurav Singh

    Hi,
    these are internal server URLs that are no exposed to the Internet.
    Frank

  • Looking for documentation about filling Comboboxes in bc4j forms

    Im looking documentation about filling comboboxes in bc4j forms. My case is as follows:
    I have an edit form. This edit form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
    How can i do that?
    Thank u.

    Orlando
    JComboBox jComb1 = new JComboBox();
    // bind combo box to BC4J
    jComb1.addPropertyChangeListener(new PropertyChangeListener()
    public void propertyChange(PropertyChangeEvent e)
    String val = ((JComboBox) e.getSource()).getSelectedItem();
    // use value to change query for VO2 and combobox 2
    Frank

  • Looking documentation about filling comboboxes in bc4j JSP´s edit pages.

    Im looking documentation about filling comboboxes in bc4j JSP pages (bc4j forms). My case is as follows:
    I have an edit JSP form. This edit jsp form needs two comboboxes. The values in the second combo box depends of the choice selected in the first combo box. Both combos are bounded to its respective tables.
    How can i do that?
    Thank u.

    It is possible to use Javascript to refresh, but the code in Javascript is not entirely trivial.
    Here is an example of a dependent select control which uses javascript to refresh the dependent list.
    One use BC4J tags to populate a similar dependent list dynamically:
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script type="text/javascript">
    // Create arrays containing state cities
    // Note: These arrays could be created dynamically
    var arrStates, arrFlorida, arrNewYork, arrTennessee
    arrFlorida = ["Daytona Beach", "Miami", "Orlando", "Tampa"]
    arrNewYork = ["Albany","New York", "Oakland", "Rochester"]
    arrTennessee = ["Gatlinburg", "Knoxville", "Memphis", "Nashville"]
    arrStates =[arrFlorida, arrNewYork, arrTennessee]
    // Function to handle dynamically altering the contents of the City List box
    function handleChange(newDisplay)
    {   var StateSelect, CitySelect, NumEntries, i
    StateSelect = document.frm.States
    CitySelect = document.frm.Cities
    // Delete all entries in the cities list box
    for (i = CitySelect.length; i > 0; i--)
    CitySelect.options[i-1] = null
    // Add comment option to City List box
    CitySelect.options[0] = new Option("-- Select City --",0)
    // If state is selected add its cities to the City List box
    if (newDisplay >= 0)
    NumEntries = arrStates[newDisplay].length
    for (i = 1; i <= NumEntries; i++)
    CitySelect.options[i] = new Option((arrStates[newDisplay])[i-1],(i))
    CitySelect.selectedIndex = 0
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <p>This is a test.. </p>
    <p>  </p>
    <form name="frm" action="">
    States:
    <select name="States" onChange="handleChange(this[this.selectedIndex].value)">
    <option value="-1">-- Select State --
    <option value="0">Florida
    <option value="1">New York
    <option value="2">Tennessee
    </select>
    <p>
    Cities:
    <select name="Cities">
    <option value="-1">-- Select City --
    <option>
    <option>
    <option>
    <option>
    </select>
    <script type="text/javascript">
    handleChange(-1)
    </script>
    </form>
    </body>
    </body>
    </html>

  • JavaDoc documentation for new BC4J UI classes

    Hi All
    I could not find JavaDoc documentation for new UI packages (
    oracle.jbo.uicli.*** ) in JDeveloper 9i RC. Does anybody have an
    idea where can I find them?
    Regards,
    Shota

    The Javadoc for the Release Candidate is not accessible directly from the help system. You can, however, open the javadoc by using the
    "Browse Javadoc" command in the Code Editor: 1. Highlight the symbol in the Code Editor (for instance, type "JUApplication" anywhere in a
    .java file that you open in the Code Editor), 2. Right click and choose "Browse Javadoc". JDev will open the javadoc for the highlighted symbol
    and you can use the Prev link to traverse the tree until you find the desired package. In the Production release, the Javadoc will be
    accessible directly from the HelpViewer Contents pane (and thus allow searches on the Javadoc). FYI: All Javadoc appears in the /jdev/doc/ohj/
    folder in your installation.

  • Uix & bc4j web.xml documentation

    Is there a document somewhere that describes all of the various parameters available for the web.xml files used by uix and bc4j?
    Thanks, Steve

    Repost.
    Hopefully there is something like this.
    Thanks, Steve

  • BC4J: incomplete documentation

    Hi
    Extract from the API:
    "activateStateForUndo
    public byte[] activateStateForUndo(java.lang.String id,
    int flags)
    Restore an ApplicationModule undo record.
    Activates an ApplicationModule state which was created using passivateStateForUndo(String, byte[], int).
    If the id is not on the undo stack then an exception will be thrown indicating that it is an invalid undo id.
    Invoking this method will remove all those undo records that are above (more recent) than the specified undo record.
    Parameters:
    id - the id of an undo record that was created using passivateStateForUndo(String, byte[], int)
    1. Can someone please tell me what the input parameter "flags" mean? and
    2. What is returned in the byte[]?
    Thanks.

    &#1093;&#1079;

  • JBO:33001 bc4j.xcfg file not found in class path

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    ( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
    Thanks
    Hari(2/3/02)

    Hi All,
    For those who are following this thread, I got a solution for this error with the help of Jdev Team.
    This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
    As you may be aware, Tomcat ignores value in CLASSPATH variable.
    To see any files that are existing or newly deployed, it has it own way of detecting it.
    Addition information on Tomcat working, you can follow this link,
    http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
    Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
    1. /WEB-INF/classes of your web-application
    2. /WEB-INF/lib/*.jar of your web application
    3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
    4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
    5. $CATALINA_HOME/common/classes
    6. $CATALINA_HOME/common/lib/*.jar
    7. $CATALINA_HOME//classes
    8. $CATALINA_HOME/lib/*.jar
    So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
    If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
    if the files are within a jar, they should be under WEB-INF/lib directory.
    If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
    IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
    To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
    Put your web.xml and DataTags.tld in the WEB-INF directory.
    Your simple web.xml may look like as follows.
    <?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>
                   /webapp/DataTags.tld
              </taglib-uri>
              <taglib-location>
                   /WEB-INF/DataTags.tld
              </taglib-location>
         </taglib>
    </web-app>
    You may then modify this web.xml to suit further requirements of your application.
    Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
    Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
    Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
    Thanks
    Hari

Maybe you are looking for

  • Xcelsius exporting capabilities to Powerpoint and Word with Windows vista

    I have recently bought a license for Xcelsius Present 2008 Full Product. I have Windows Vista in my computer with the version of MS Office is 2003. My problem is that the features of exporting Xcelsius visualizations to powerpoint and Word don't work

  • Special Characters not showing using Report Query

    I run my BI pub reports from APEX page using apex_util.download_print_document (see below). It looks like it is stripping out the '+' from the report when displaying. It shows correctly inthe XML file. I even tried encoding with SELECT max(replace(I1

  • Configuring PE11 as external editor

    I have Aperture 3.4.5 and Photoshop Elements 11.0 installed on my iMac (Mountain Lion). I have set the export preferences to launch PE11 as the external editor and set the file format to PSD 16 bit although I have tried other formats. When I go to Ph

  • Problem with Transparency of the Curtains transition

    I have been fiddling in FCPX for hours and still don't undertsand a word. I added the curtains as a transition between two parts of my movie, but it does not work, first the curtains have no transparent background, so I can see a black screen for a s

  • Is it possible to create a custom  "archive and install" netinstall image

    10.5.8 Server & 10.5.6 v1 server admin tools..... I understand you can customize netinstall images with the Automator actions in System Image Utility but I don't seem to find a Automator action I can apply to my custom netinstall image that will perf