Regarding Keypress Bean

I am trying to use this bean http://forms.pjc.bean.over-blog.com/article-forms-11g-pjcs-sending-back-custom-events-to-forms-42491415.html
in Oracle forms 10g not to get the key was pressed but to check if the forms_status was changed or not and this for enable or disable commit button,i hope you got my point.
but i did every setup for registring JAR file
1- add it in \forms\java path and add also in formsweb.cfg file
2- add it in FORMS_BUILDER_CLASSPATH key in registry
when i trying to run the form all items was converted to radio group items , i know this is happend because the version is diffrent i convert it again to text items and run but no response when i press any key.
when i trying to use this bean http://forms.pjc.bean.over-blog.com/article-15980196.html
by the same setup also no response when i press any key.
May i tell u somthing help u also when i am trying to import java class manually in oracle forms >> first case i am trying to import Keypress for 9i it imported successfuly, in second case to import KeyPressedTextField 11g i got the following message
Importing Class oracle.forms.fd.KeyPressedTextField$1...
Exception occurred: java.lang.UnsupportedClassVersionError: oracle/forms/fd/KeyPressedTextField$1 (Unsupported major.minor version 50.0)
i was copy the code in the java file and past in Jdeveloper to detect if there are something missing i got errors in importing (import oracle.forms.*), is that will help you?
PLEASE tell me what can i do?

Thanks Francois
i opened the java console and gave me the following error at strart up , also i installed jre v6 because i thought that the error in jvm .
what do you think the solution ?
Loading http://data:8889/forms/java/frmall_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Unknown Source)
     at oracle.forms.handler.UICommon.instantiate(Unknown Source)
     at oracle.forms.handler.UICommon.onCreate(Unknown Source)
     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
     at oracle.forms.engine.Runform.processMessage(Unknown Source)
     at oracle.forms.engine.Runform.processSet(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
     at oracle.forms.engine.Runform.startRunform(Unknown Source)
     at oracle.forms.engine.Main.createRunform(Unknown Source)
     at oracle.forms.engine.Main.start(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
thank you for your efforts.
Edited by: user13099130 on Dec 29, 2011 10:23 AM

Similar Messages

  • Regarding ENTITY bean local interfaces

    Hi all,
    I have a component session bean - containing a number of service methods for creating, retrieving, updating & deleting instances of a related entity bean. This session bean is used by another session facade bean, which invokes the various service methods in some sequence to complete a major task.
    In the component session bean, the retireve methods return the local interface of the entity bean - on which it operates. The update methods accespt local interfaces of entity bean which can be directly updated.
    My question is : Is it a right approach to pass the entity bean instances between method calls.
    Thanks in advance,
    Baskar

    Your pointers regarding pt 2 was nice. Thanks.
    This being my first J2ee design, I'am just collecting as much information as possible to stay confident.
    Later, I started thinking a bit more regarding pt 1.
    Where, I decided using individual session beans for different components(representing unique functionalities).
    i.e,, I'am just thinking, should I use individual session beans for each of these different components.
    What if I use standard java classes - implementing pre-defined interfaces for each of these components & use the components through these interfaces in session facade.
    Now, I'll be using entity bean creates/retrieves/updates/deletes from inside normal java classes.
    I thought, this would obviate the need for JNDI lookups - each time I want to use the components in my session facade.
    But, I'am not sure of where this will impact..As far as I can visualize, this seems to be normal. Please share ...your thoughts regarding this. (something regarding transactions ??)

  • Need Help Regarding JAVA BEAN

    Is any one tell me that JAVA BEAN only used in WEB or also you in Desktop applications???? and aslo tell how i implement Java class and use JAVA BEAN. I need help regarding above matter
    thanks in advance
    Rehan MIrza

    Here is a good link that indicate that JavaBean is not only for applets
    http://java.sun.com/docs/books/tutorial/javabeans/whatis/beanDefinition.html
    quote:
    The JavaBeans API makes it possible to write component software in the Java programming language. Components are self-contained, reusable software units that can be visually composed into composite components, applets, applications, and servlets using visual application builder tools. JavaBean components are known as Beans.
    Francois

  • Regarding stateless bean create() method problem

    hi every body,
    I am Learning EJB now for this i created one StatelessBean with a eho functionality with jsp. it is working good for the first time but when i am trying to run that jsp once again it shows the following error in server console
    11:32:13,090 ERROR [LogInterceptor] EJBException in method: public abstract beans.StatelessRemote beans.StatelessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException:
    javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract beans.StatelessRemote beans.StatelessHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
    i am using Netbeans and J2EE 1.4 version and using Jboss 4.2.2.GA
    please help me in this regard
    yours,
    -sat-

    Bean :::::::::::::
    package beans;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    public class StatelessBean implements SessionBean {
    SessionContext context;
    // The public business method. This must be coded in the
    // remote interface also.
    public String getEchoString(String clientString) {
    return (clientString.toUpperCase() + " - from session bean");
    // Standard ejb methods
    public void ejbActivate() {
    System.out.println("ejb activate called");}
    public void ejbPassivate() {
    System.out.println("ejb passivate called");}
    public void ejbRemove() {
    System.out.println("ejb remove called");}
    public void ejbCreate() {
    System.out.println("ejb create called");}
    public void setSessionContext(SessionContext context) {
    System.out.println("setSessionContext called");
    this.context=context;
    Home interface::::::::::::::::::::::::::
    package beans;
    import java.rmi.RemoteException;
    import javax.ejb.EJBHome;
    import javax.ejb.CreateException;
    public interface StatelessHome extends EJBHome {
    // The create() method for the SimpleSession bean
    public StatelessRemote create()
    throws CreateException, RemoteException;
    Remote interface::::::::::::
    package beans;
    import java.rmi.RemoteException;
    import javax.ejb.EJBObject;
    public interface StatelessRemote extends EJBObject {
    // The public business method on the SimpleSession bean
    public String getEchoString(String clientString)
    throws RemoteException;
    client ie.. index.jsp
    <%@ page import="java.util.*,java.io.*,java.lang.*" %>
    <%@ page import="beans.*,javax.naming.InitialContext,javax.naming.Context,javax.rmi.PortableRemoteObject" %>
    <%--
    Document : index
    Created on : Dec 2, 2008, 11:33:10 AM
    Author : sathish.kumar
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!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>JSP Page</title>
    </head>
    <body>
    <%
    Properties pro=new Properties();
    StatelessHome home;
    StatelessRemote simpleSession;
    String result=new String();
    try {
    // Get a naming context
    pro.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    pro.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");     
    pro.put(Context.PROVIDER_URL,"localhost:1099");
    InitialContext JContext = new InitialContext(pro);
    System.out.println("context::::::::::::::>"+JContext);
    // Get a reference to the SimpleSession JNDI entry
    Object ref =JContext.lookup("StatelessBean");
    // Get a reference from this to the Bean's Home interface
    home = (StatelessHome)PortableRemoteObject.narrow(ref, StatelessHome.class);
    // Create a SimpleSession object from the Home interface
    simpleSession = home.create();
    // Loop through the words
    for (int i = 0; i < 10; i++) {
    String returnedString = simpleSession.getEchoString("hello"+i+"::>>");
    System.out.println("sent string: " +"hello"+i+"::>>" +
    ", received string: " + returnedString);
    result+=returnedString;
    } catch(Exception e) {
    e.printStackTrace();
    %><form name="my" method=post>
    <h2>Hello World!<hr><br><%= result%><hr></h2></form>
    </body>
    </html>

  • Bug in Keypress Bean

    I am using this bean http://forms.pjc.bean.over-blog.com/article-15980196.html now and i made some changes in the java file and it is work perfect but i found something (when i press BackSpace the bean retrieve the ascii code but the text in the field doesnot removed it mean the action for BackSpace key was ignored and also Key-List-Val in 10g it is mean (CTRL+L) what can i do in the java code to solve this problem
    Thanks
    Edited by: user13099130 on 30/12/2011 11:42 م
    Edited by: user13099130 on 31/12/2011 01:35 ص

    Here is the new complete code that will work fine with any Forms version:
    package oracle.forms.fd;
    import java.awt.*;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.lang.reflect.Method;
    import oracle.forms.engine.Main;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.ui.VBean;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
         * A Java Bean that returns each key pressed
         * in TextFields and TextAreas
         * @author Francois Degrelle
         * @version 1.1
        public class KeyPressed   extends VBean
          private static final ID INIT              = ID.registerProperty("INIT");  
          private static final ID KEYTYPED          = ID.registerProperty("KEY_PRESSED");  
          private static final ID KEYCODE           = ID.registerProperty("KEY_CODE");  
          private static final ID KEYCHAR           = ID.registerProperty("KEY_CHAR");  
          private static final ID KEYMOD            = ID.registerProperty("KEY_MODIFIER");        
          private   IHandler    m_handler;
          private   boolean     bLog = false ;
          private   boolean     bImg = false ;
          private   KeyListener kl ;    
          public    Main         formsMain = null;
          private   char        cChar ;
          private   int         iModifier = 0 ;
          private   String      sModifier = "" ;     
          public KeyPressed()
             super();
          public void init(IHandler handler)
            m_handler = handler;
            super.init(handler);
            setKeyListener();
            // getting the Forms Main class
            try{
              Method method = handler.getClass()
                             .getMethod("getApplet", new Class[0]);
              Object applet = method.invoke(handler, new Object[0]);
              if (applet instanceof Main) {
                 formsMain = (Main)applet;
            }catch(Exception ex) {;}        
           *  set the properties of the bean   *
          public boolean setProperty(ID property, Object value)
            if(property == INIT)
              getTextItems(formsMain.getFrame(),0);
              return true ;
            else
             return super.setProperty(property, value);
      public void log( String sMessage )
        if( bLog) System.out.println( sMessage ) ;
       *   Find all TexField and TextArea
       *   to add a Key Listener
      protected void getTextItems(Component component, int iter)
          if (component.getClass().getName().equals("oracle.forms.ui.VTextField"))
            oracle.forms.ui.VTextField vt = (oracle.forms.ui.VTextField)component ;
            vt.addKeyListener(kl);
          else if (component.getClass().getName().equals("oracle.forms.ui.VTextArea"))
            oracle.forms.ui.VTextArea ta = (oracle.forms.ui.VTextArea)component ;
            ta.addKeyListener(kl);
        if (component instanceof Container)
            Component components[] = ((Container)component).getComponents();
            iter++;
            for (int i = 0; i < components.length; i++)
                { if (components[i] != null)
                     { getTextItems(components,iter);}
    * create a KeyListener for the items
    void setKeyListener()
    kl = new KeyListener(){
         public void keyPressed(KeyEvent e) {
    // get the code
    int iKey = e.getKeyCode() ;
    // get the character
    cChar = e.getKeyChar() ;
    // get the modifier
    iModifier = e.getModifiers();
    sModifier = KeyEvent.getKeyModifiersText(iModifier);
    log("DispatchKeyEvent modifier:"+iModifier);
    * Inform Forms that a character was typed
    try{
    m_handler.setProperty(KEYCODE, ""+iKey);
    m_handler.setProperty(KEYCHAR, ""+cChar);
    m_handler.setProperty(KEYMOD, sModifier);
    CustomEvent ce = new CustomEvent(m_handler, KEYTYPED);
    dispatchCustomEvent(ce);
    catch (Exception ex)
    System.out.println("DispatchKeyEvent -> exception while dispatching");
    //ex.printStackTrace();
    switch(iKey)
    case KeyEvent.VK_TAB:
    case KeyEvent.VK_CANCEL:
    case KeyEvent.VK_CLEAR:
    case KeyEvent.VK_SHIFT:
    case KeyEvent.VK_CONTROL:
    case KeyEvent.VK_ALT:
    case KeyEvent.VK_PAUSE:
    case KeyEvent.VK_CAPS_LOCK:
    case KeyEvent.VK_ESCAPE:
    case KeyEvent.VK_PAGE_UP:
    case KeyEvent.VK_PAGE_DOWN:
    case KeyEvent.VK_UP:
    case KeyEvent.VK_DOWN:
    case KeyEvent.VK_F1:
    case KeyEvent.VK_F2:
    case KeyEvent.VK_F3:
    case KeyEvent.VK_F4:
    case KeyEvent.VK_F5:
    case KeyEvent.VK_F6:
    case KeyEvent.VK_F7:
    case KeyEvent.VK_F8:
    case KeyEvent.VK_F9:
    case KeyEvent.VK_F10:
    case KeyEvent.VK_F11:
    case KeyEvent.VK_F12:
    case KeyEvent.VK_F13:
    case KeyEvent.VK_F14:
    case KeyEvent.VK_F15:
    case KeyEvent.VK_F16:
    case KeyEvent.VK_F17:
    case KeyEvent.VK_F18:
    case KeyEvent.VK_F19:
    case KeyEvent.VK_F20:
    case KeyEvent.VK_F21:
    case KeyEvent.VK_F22:
    case KeyEvent.VK_F23:
    case KeyEvent.VK_F24:
    try
    m_handler.setProperty(KEY_EVENT, e);
    System.out.println("DispatchKeyEvent -> "+iKey+" "+cChar+" "+sModifier);
    catch ( Exception ex ){ System.out.println("Unable to send key to Forms");}
    if(e.getSource().getClass().getName().equals("oracle.forms.ui.VTextField") && iKey==KeyEvent.VK_ENTER
    || (iModifier != 0)){ 
    try {
    m_handler.setProperty(KEY_EVENT, e);
    catch ( Exception ex ){ System.out.println("Unable to send key to Forms");}
    public void keyReleased(KeyEvent e) {
    public void keyTyped(KeyEvent e) {
    Francois                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Is there a better way of doing this? (regards Entity Beans, CMP, J2EE5...)

    Hello everyone,
    So I'm going to blurt out two classes of code. First is a plain entity bean and the second is a helper class with two static methods to help me to convert Object into byte[] and vice versa without much worrying.
    Now the problem is, how to persist this entity bean and it's two Objects (two Lists) in a more "J2EE5 way". I just need to store these two Objects, or any Serializable Object, into persistent storage. So how to avoid this serialization by-hand that I'm doing... ?
    Thank you for your interest - and help :),
    Samuli
    Maybe using a @Lob notation or such? I've tried, but I can't get it workign. @Lob itself is not enough since it results in casting problems when retrieveing the data back from the persistent storage.
    And oh, I'm just using the simple CMP with this.. EJB using EntityManager's persist method to store and so on..
    EntityBean class (imports and packages excluded)
    @Entity
    public class MessageHandlerChain implements java.io.Serializable {
        @TableGenerator(
            name="messageHandlerChainIDGenerator",
            allocationSize=1,
            initialValue=1
        @GeneratedValue(
            generator="messageHandlerChainIDGenerator",
            strategy=GenerationType.TABLE
        @Id
        private Integer messageHandlerChainID;
        @Lob
        private byte[] messageHandlers;
        @Lob
        private byte[] messageHandlerProperties;
        @Transient
        private List<String> messageHandlersObj = new ArrayList<String>();
        @Transient
        private List<Map<String,String>> messageHandlerPropertiesObj = new ArrayList<Map<String,String>>();
         * Constructs an empty instance of <code>MessageHandlerChain</code> without any properties.
        public MessageHandlerChain() {
        public Integer getMessageHandlerChainID() {
            return messageHandlerChainID;
        public void setMessageHandlerChainID(Integer messageHandlerChainID) {
            this.messageHandlerChainID = messageHandlerChainID;
        public List<String> getMessageHandlers() {
            return messageHandlersObj;
        public void setMessageHandlers(List<String> messageHandlersObj) {
            if (messageHandlersObj == null) {
                System.out.println("[MessageHandlerChain] setMessageHandlers() can't be given a null value.");
                return;
            this.messageHandlersObj = messageHandlersObj;
        public List<Map<String,String>> getMessageHandlerProperties() {
            return messageHandlerPropertiesObj;
        public void setMessageHandlerProperties(List<Map<String,String>> messageHandlerPropertiesObj) {
            if (messageHandlerPropertiesObj == null) {
                System.out.println("[MessageHandlerChain] setMessageHandlerProperties() can't be given a null value.");
                return;
            this.messageHandlerPropertiesObj = messageHandlerPropertiesObj;
        @PrePersist
         * This method is invoked by the persistence provider prior to every persist operation.
         * This is needed because we need to convert, serialize, our <code>@Transient</code> annotated objects into <code>byte[]</code> streams
         * so that they can be written into the database.
        public void prePersist() {
            System.out.println("[MessageHandlerChain] prePersist()");
            if (messageHandlerPropertiesObj != null)
                messageHandlerProperties = BlobConverter.objectToBytes(messageHandlerPropertiesObj);
            if (messageHandlersObj != null)
                messageHandlers = BlobConverter.objectToBytes(messageHandlersObj);
        @PostLoad
         * This method is invoked by the persistence provider after every load operation.
         * This is needed because we need to convert, deserialize, <code>byte[]</code> streams back to our <code>@Transient</code> annotated objects.
        public void postLoad() {
            System.out.println("[MessageHandlerChain] postLoad()");
            try {
                if (messageHandlerProperties != null)
                    messageHandlerPropertiesObj = (List<Map<String,String>>)BlobConverter.bytesToObject(messageHandlerProperties);
                if (messageHandlers != null)
                    messageHandlersObj = (List<String>)BlobConverter.bytesToObject(messageHandlers);
            } catch (ClassCastException e) {
                System.out.println("[MessageHandlerChain] postLoad() Class Cast Exception: "+e);
        public String toString() {
            return "[MessageHandlerChain] messageHandlerChainID="+getMessageHandlerChainID()+", messageHandlers="+getMessageHandlers()+", messageHandlerProperties="+getMessageHandlerProperties();
    The helper class
    * <code>BlobConverter</code> is a simple helper class to encode and decode classes as byte[] so that they can be stored into persistent storage.
    * @author Samuli Piela
    public class BlobConverter {
        public static byte[] objectToBytes(Object o) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream(512);
            ObjectOutputStream oos = null;
            try {
                oos = new ObjectOutputStream(baos);
                oos.writeObject(o);
                return baos.toByteArray();
            } catch (InvalidClassException e) {
                System.out.println("objectToBytes("+o+"): Invalid Class: "+e);
            } catch (NotSerializableException e) {
                System.out.println("objectToByte("+o+"): Object not serializable: "+e);
            } catch (Exception e) {
                System.out.println("objectToBytes("+o+"): Exception: "+e);
            } finally {
                if (oos != null) {
                    try {
                        oos.close();
                    } catch (IOException e) {
                        System.out.println("objectToBytes(): Stream could not be closed: "+e);
                if (baos != null) {
                    try {
                        baos.close();
                    } catch (IOException e) {
                        System.out.println("objectToBytes(): Stream could not be closed: "+e);
                oos = null;
                baos = null;
            return null;
        public static Object bytesToObject(byte[] byteArray) {
            ByteArrayInputStream bais = new ByteArrayInputStream(byteArray);
            ObjectInputStream ois = null;
            try {
                ois = new ObjectInputStream(bais);
                Object o = ois.readObject();
                return o;
            } catch (ClassNotFoundException e) {
                System.out.println("bytesToObject(): Class not found: "+e);
            } catch (InvalidClassException e) {
                System.out.println("bytesToObject(): Invalid Class: "+e);
            } catch (IOException e) {
                System.out.println("bytesToObject(): IOException: "+e);
            } catch (Exception e) {
                System.out.println("bytesToObject(): Exception: "+e);
            } finally {
                if (ois != null) {
                    try {
                        ois.close();
                    } catch (IOException e) {
                        System.out.println("bytesToObject(): Stream could not be closed: "+e);
                if (bais != null) {
                    try {
                        bais.close();
                    } catch (IOException e) {
                        System.out.println("bytesToObject(): Stream could not be closed: "+e);
                ois = null;
                bais = null;
            return null;
    }

    anyone?

  • Regarding Entity bean

    Does new version of OAS 4.0.8.1 or
    JDeveloper 3.0 support Entity Bean .
    Can anyone help me?
    from Prashant

    That blows. I've been really counting on Oracle to come through on at least the EJB 1.1 spec for OAS is not for 8.1.6. At the iSeminar I was informed it was available in beta with the release. This is getting disheartening as IBM has good all-around integrated support for the full standard but I've committed alot of time and energy to the Oracle platform.
    Now I need to re-think that decision? That sucks.
    Will :-\

  • Query regarding MessageDriven Bean

    Hi ,
    I am newbie to MessageDrivenBeans .
    Hi i have seen two examples of MDB .
    The First One
    @MessageDriven(activationConfig =
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/mdb")
    })The second :
    @MessageDriven(ejbName="CalculatorBean",destinationType="javax.jms.queue",destinationJndiName="queue/mdb")
    Please tell me what is the correct way ?? And what is ejbName Attribute and what should be the value passed to it .

    RaviKIran wrote:
    Hi ,
    I am newbie to MessageDrivenBeans .
    Hi i have seen two examples of MDB .
    The First One
    @MessageDriven(activationConfig =
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/mdb")
    })The second :
    @MessageDriven(ejbName="CalculatorBean",destinationType="javax.jms.queue",destinationJndiName="queue/mdb")
    Please tell me what is the correct way ?? And what is ejbName Attribute and what should be the value passed to it .The first one... Seems normal with some vendor specific attribute (destination) which specifies the name of the QUE in that scenario (mst match the name of the resource name when the QUE was created before it was given to the message producer). From what I understand there is no norm an and I have read that the MDB will normally use .xml to configure this with the <mesage-destination-link> attribute tag.
    EJB name is the name given to this bean and can be used when this bean is looked up.

  • BI BEANS - the only way?

    I have one more question to You. In my company, is considered an idea to build own web reporting tool. In our project We use Oracle 9 and BEA Weblogic 8.1 application server. Are there any Java components beside BI BEANS,
    that supports building such kind of application ? Does someone use something else ? Are the BI Beans the best?
    Piotr,

    If you use AWM to create your cube, you could easily use BI beans. Also BI beans features are best utilized with OLAP. (However I think I we could use BI beans against non-OLAP as well )
    Is it the best.. I guess it'll depend on what your requirements are. Check the main bi beans web site to get an overview of the features - http://www.oracle.com/technology/products/bib/index.html
    However before you proceed... you may want to talk to your company's person who handles Oracle acct. regarding Bi beans. There's a thread that discusses the future of BI beans, but no one from oracle has answered it yet.
    Is Oracle dropping BI Beans?

  • How to read a ftp file with a specified file name in Proxy-XI-File scenario

    Dear all,
    I have the following requirement:
    The end user send a request via the proxy to XI, within the request parameters there is a file name, and the XI need to retrieve the file content from a ftp server with this specified file name, how can I achieve this?
    According to my understanding, the file receiver adapter can only write the files to the server.
    Thanks and regards,
    Bean

    Dear Bean,
    This can be achieved using a BPM...
    you will have to use Two parallel receive steps within a fork...
    1. 1st receive step :This will bring the data from the proxy
    2. 2nd receive step :according to pipeline step before this step would be executed interface determination would be called withini that you can put a mapping wherin the source and target message type would be as follows
    a. source message type ; the file structure that is going to be picked from ftp structure
    b.target message type : same structure as source except at top you will add "filename" field
    (you cna find on forum how we can get a fielname in the mapping ..in case you dont knw )
    3. now you can define correlation on the field "fielname" in both the receive steps provide the hirearchy and structure of data coming from both file and procy are same...
    4..  after corelation you can put any steps like transformation ( as you want)
    Hope this helps

  • Functions in OAF

    Hi All,
    I like to know what are all the parameters does below function takes and does in OAF,
    forwardImmediatelyToCurrentPage()
    It would be helpfull if you provide and document to get all the details for similar kind of functions which are all used in OAF
    Thanks.

    All the information regarding the beans, classes will be available in : jdevdoc folder of your Jdev.

  • How to config URL parameters dynamiclly in URL iView?

    Hi all,
    I have 2 iViews, iView1 is a WD application iView, iView2 is a URL iView with some URL parameters.
    Firstly I navigate from IView1 to iView2 with some parameters, then I hope to pass these parameters to the URL parameters configued in iView2.
    For example,
    <b>iView2 configuration:</b>
    URL: http://server1/app
    URL parameter name: param
    <b>Navigate from IView1 to iView2:</b>
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview, WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,(String)null,(String) null, "value=123");
    Then how can I pass the value 123 from iView1 to the parameter 'param' in iView2?
    Best regards,
    Bean

    Hi Bean ,
    The approach you are following is correct ,refer to these links , there you can find the concept of WDportalnavigation properly,Also check for the relative navigation.
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    Thanx
    Pankaj

  • Different configuration issues between the DEV and QAS

    Dear friends,
    I have 2 synchronize soap-xi-proxy and proxy-xi-soap scenarios, therefore I create a business service 'customer'  and the soap communication channels.
    In the DEV environment, I have only one client (DEV_100) for the unit test, so there's no problem.
    Unfortunately in the QAS environment, we have several clients: QAS_500 for integration test, QAS_600 for UAT, QAS_700 for the end user training, as the test schedule can't be one by one in order, I have a requirement that I must support the multiple tests in the same time.
    I could transport the configuration objects with different transport targets for the proxy-xi-soap scenario and use the virtual receiver for the soap-xi-proxy scenario, but it looks like ugly and we need to have at least 3 times configuration objects when comparing to the DEV environment.
    Could anybody tell me how we design or transport the configuration scenarios better for achieving the requirement?
    Thanks and regards,
    Bean

    Hi bean,
    Please have a look at the following link and see if it helps you.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ac6de690-0201-0010-54ac-8923089dcc97
    Best Regards
    sorry, I didn't find any information which could help me in this scenario, anyway thanks so much for your kind help.

  • Jsp:useBean and Tomcat

    Hi!
    I have installed Tomcat as localhost and succeed in running scriplets. But now I want to try using jsp:useBean
    I have compiled a simple class, test1.class and placed it under webapps/root together with the jsp-file.
    When I use �
    <jsp:useBean id="test1" scope="page" class="test1"/>
    to start test1, Tomcat tries to find it in org.apache.jsp
    Then I tried to add - package myFolder; - in test1 but it won�t work.
    So! These are my questions.
    Is it possible for Tomcat to find a class placed in the webapps/root folder?
    Where can I find org/apache/jsp, is it in a .jar-file somewhere? I can�t fint it when I use - search files/folders.
    Where should I place test1.class and how do I write the useBean-tag to make it work?
    Thanks for any answer
    Regards Peter

    your beans should always be under /web-inf/classes
    so if you want to put it in the root directory it should look like this
    tomcat-path/webapps/root/web-inf/classes
    in your jsp file, don't forget to import the bean i.e
    <%@ page import="package_name.mybeans.*" %>
    then use the jsb:useBean the way you did
    <jsp:useBean id="test1" class="test1" scope="page" />
    it should then work fine,
    regards

  • Do XMLBeans support a schema in multiple documents?

    Hi All XMLBeans Guru.
    I got an error message that
    -CapFinInfoReq.xsd:4: Could not load resource "http://10.198.195.120/Schema/Queuing/quebase.xsd"
    (network downloads disabled)- .
    in WLW while it tried to compile my schema which has the include declaration in
    my schema which refering to the QueBase which I had compile in WLW to XML Beans
    classes successfully before compiling CapFinInfoReq.xsd. as in this line.
    <xs:schema targetNamespace="http://10.198.195.120/Schema/Queuing" xmlns:qu="http://10.198.195.120/Schema/Queuing"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:include schemaLocation="http://10.198.195.120/Schema/Queuing/quebase.xsd"/>
    I would like to as you that I had diagnose it correct with content in the subject
    or I do something wrong. If it is the latter case, I would like to ask you to
    recommend to me where can I get the deep in detail for using XMLBeans API by setting
    or writing anything in order to compile a schema which refer to some schema constructions
    - such as element declaration and typed definitions in other existing schema document.
    In order to reused it or used as the common definition.
    I saw from one news group that XMLBeans not support include declaration, but it
    doesn't not have the reference document of that response of that message. From
    my understand about it, I think it may be as that message.
    Actualy, I find the easy way to implement with the good performance to validation
    against schema and check few elements in the document in order to make decision
    in business logic.
    I thank you in advance for recommending me to do it.
    Best Regards,
    Therddham

    "Therddham Khamsiri" <[email protected]> wrote:
    >
    Hi All XMLBeans Guru.
    I got an error message that
    -CapFinInfoReq.xsd:4: Could not load resource "http://10.198.195.120/Schema/Queuing/quebase.xsd"
    (network downloads disabled)- .
    in WLW while it tried to compile my schema which has the include declaration
    in
    my schema which refering to the QueBase which I had compile in WLW to
    XML Beans
    classes successfully before compiling CapFinInfoReq.xsd. as in this line.
    <xs:schema targetNamespace="http://10.198.195.120/Schema/Queuing" xmlns:qu="http://10.198.195.120/Schema/Queuing"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    attributeFormDefault="unqualified">
         <xs:include schemaLocation="http://10.198.195.120/Schema/Queuing/quebase.xsd"/>
    I would like to as you that I had diagnose it correct with content in
    the subject
    or I do something wrong. If it is the latter case, I would like to ask
    you to
    recommend to me where can I get the deep in detail for using XMLBeans
    API by setting
    or writing anything in order to compile a schema which refer to some
    schema constructions
    - such as element declaration and typed definitions in other existing
    schema document.
    In order to reused it or used as the common definition.
    I saw from one news group that XMLBeans not support include declaration,
    but it
    doesn't not have the reference document of that response of that message.
    From
    my understand about it, I think it may be as that message.
    Actualy, I find the easy way to implement with the good performance to
    validation
    against schema and check few elements in the document in order to make
    decision
    in business logic.
    I thank you in advance for recommending me to do it.
    Best Regards,
    TherddhamXML Beans support XML Schema that use include declaration by declare it in the
    schema as the following
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    attributeFormDefault="unqualified">
         <xs:include schemaLocation="quebase.xsd"/>
    I succeeded to generate the XMLBeans class of my schama in multiple document.
    However I 'm not sure that XMLBeans will support the namespaces.
    For schema which doesn't use other custom type, I didn't declare the targetnamespace
    too.
    Regards,
    Therddham

Maybe you are looking for