Why to use beans?

why to use beans?

One) I think you need to read up on the bean specification and examine the API before you can expect someone to help you understand it.
Two) Java beans are still java classes. There are special interfaces and classes which can be used to better aid visual tools or any other tool actually that may use beans, but they are not required to be created for any given bean. I think the notion that "beans" add over head is simply invalid as a bean can be as simple as a class that has a property name and has methods public void setName(String) and public String getName(). The only thing that makes this a bean is naming conventions. There are helper classes that pick out these patterns for IDE's to make it easier for them or any other bean friendly environment to access classes designed a special way (those that adhere to the bean standards/patterns). So, other than some special property customizer gui's and other helper classes that are not required to be used, if you know how to use setter and getter methods you know how to create at least simple beans, and bean friendly environments can more easily use your class because they can detect the bean patterns and at least know how to make your class/bean available and useable in their context. That's the biggest advantage...a standardized approach to a certain portion of the design that allows applications to access generic components in a usual/logical/standard fashion.
Wade

Similar Messages

  • How to use beans in more than one page

    hello members,
    can somebody tell me how to make beans availabe to more than one page ,i used scope variable as "application"
    in which i set the value of java bean and in that page it show all values of that bean even it modified
    but when redirect to another jsp page it does not show modifided value,it shows its default value
    what shld i use tell me
    following thing that i use in forwarded jsp page
    <jsp:useBean="same id in previous jsp page", class="same class", scope="application"/>
    and then i am using boolean variable which set false default ,but i set it manually though
    setfuction (assume) in original jsp page,but in redirected page it showing it value fasle
    i don't know why
    can somebody (Bean Bond) help me in this problem
    i will very thankfull to you
    plz..................

    My dear friend,
    your scope is wrong. Since you run a JSP page and you want it available everywhere, the only thing that all pages have common is session. So changing your bean scope to session will keep the bean variables and the rest you have on it.
    Try it and let me know.

  • Why to use JMS????

    Hi All,
    i am new to JMS, can any body tell me Why to use JMS??
    i know it used to send message but for why???
    if u answer me with an example it will be useful for me.
    thanks in advance.

    Hi,
    Well one very good reason to use JMS is to keep applications that produce information decoupled from applications that consume information. With this decoupled approach, you can any number of producers and consumers sending and processing information...thus making your solution very scalable.
    If you think of an online ordering system. A user plugs in a bunch of information about a product they wish to order. Once the form is completed, they hit the submit button. Now you can take one of two approaches:
    1. You can have an Enterprise Java Bean ( EJB ) service the order request. That EJB could then communicate with other EJBs within an inventory system to perform a bunch of checks and eventually hand it off to the appropriate system to fulfill the order. From the user's perspective, they are going to have to wait until all of that processing has completed before they can move on. Not a very nice situation. There is a potential that the user could be sitting on their order screen for mintues!!
    2. The other approach is to wrap all of the information supplied on the order form into a JMS message and forward the message to an appropriate Topic or Queue. On the other side of that Topic or Queue an inventory system subscribes for order messages. The nice thing about this approach: as soon as the message is sent off to the Topic or Queue, the user regains control of the screen and can continue browsing. Another benefit, you can have multiple consumers processing orders.
    I apologize for the length of the response. These are only two benefits of using a Messaging-based approach....there are many, many more.
    Regards,
    J.

  • Use bean to pass  dynamic parameter from one jspto another

    Hi Everyone
    I am trying to use a bean to pass parameter instead of passing param through querystring . This is the situation:
    in jsp1 I query a table and get the result listed, when I click every row of the record , I want some special parameters passed to jsp2 through bean, I found I can't get these param in jsp2 simply using getProperty method, It seems I must use form in jsp1 to activate jsp2 which use bean to pass param, Can I do it using linking archor? Because I don't want my params to list in the URL whem activate jsp2, I do not want to use the following format:
    <a href="ViewQueryDetail.jsp?string_num=<%=string_num %>&depart=<%=depart %>&l_time=<%=l_time %>&title=<%=encode_title %>  target="_top"><%=title%>
    If anybody had done this, kindly guide me.
    Thanks in advance.
    xufang</a>

    Thanks for your kindly reply, I followed your direction and now I get java.lang.NullPointerException when I link to jsp2. My code is here:
    jsp1:
    <%
    prjxnxx.db.BnParamDtxx MyBean = new prjxnxx.db.BnParamDtxx();
    prjxnxx.db.BnParamDtxx MyBean1 = new prjxnxx.db.BnParamDtxx();
    while(bean.next()) { %>
    <tr>
    <%!
    int conflag ;
    String depart ;
    String l_time;
    int dtnum ;
    String title ;
    String encode_title;
    String content ;
    //Object object_content ;
    %>
    <%
    conflag = bean.getDataInt("conflag");
    depart =bean.getDataString("depart");
    l_time =bean.getDataString("l_time");
    dtnum = bean.getDataInt("dtnum");
    //String string_num =String.valueOf(dtnum);
    title = bean.getDataString("title");
    //request.setAttribute("title",title);
    //request.setAttribute("depart",depart);
    //request.setAttribute("l_time",l_time);
    //request.setAttribute("dtnum",string_num);
    %>
    <%
    //if(request.getAttribute("MB")==null){
    MyBean.setDepart(depart);
    MyBean.setTitle(title);
    MyBean.setL_time(l_time);
    MyBean.setDtnum(dtnum);
    request.setAttribute("MB", MyBean);
    MyBean1 = (prjxnxx.db.BnParamDtxx)request.getAttribute("MB");
    depart = MyBean1.getDepart();
    title = MyBean1.getTitle();
    l_time = MyBean1.getL_time();
    dtnum = MyBean1.getDtnum();
    System.out.println(depart);
    System.out.println(title);
    jsp2:
    <%!
    String content ;
    int conflag ;
    String depart ;
    String l_time;
    int dtnum ;
    String title ;
    String query;
    %>
    <%
    prjxnxx.db.BnParamDtxx MyBean2 = new prjxnxx.db.BnParamDtxx();
    MyBean2 = (prjxnxx.db.BnParamDtxx)request.getAttribute("MB");
    depart = MyBean2.getDepart();
    title = MyBean2.getTitle();
    l_time = MyBean2.getL_time();
    dtnum = MyBean2.getDtnum();
    %>
    Everything is ok until I run the code
    MyBean2 = (prjxnxx.db.BnParamDtxx)request.getAttribute("MB");
    depart = MyBean2.getDepart();
    Can you explain why I can use getAttribute in jsp1 right yet not in jsp2?
    What is the difference between request.getAttribute and pagecontext.getRequest().getAttribute ?
    I am alway grateful for there are someone like you who can help person when they are in need!
    xufang

  • Why when using Adobe Bridge,  I apply a star rating,  the rating does not show up in Photoshop Elements? [tags]

    Why when using Adobe Bridge,  I apply a star rating,   the rating does not show up in Photoshop Elements.  I use Elements as my organizer and Bridge to view as it is much more user friendly.  Anyone any solutions??

    Most likely you have set the wrong file as the external editor. You don't want the obvious one; that's just a link to the welcome screen. Go back and choose this one, which is hidden away inside the folder Support Files:

  • I want to ask something about firefox. why firefox use very much memory? can you develop to reduce memory comsume? this problem is very distrub in my PC with low memory.

    I want to ask something about firefox.
    why firefox use very much memory?
    can you develop to reduce memory comsume?
    this problem is very distrub in my PC with low memory.
    == This happened ==
    Every time Firefox opened

    How much memory is Firefox using right now?
    # Press '''CTRL+SHIFT+ESC''' to load the Task Manager window
    # Click the Processes tab at the top. (Click once near the top of the window if you don't see tab
    # Find firefox.exe, and see how many kilobytes of memory it's using.
    Showing around 80MB when Firefox first starts is normal. Right now, I have 75 tabs open and it's using 500MB - this varies a lot depending on what you have in the tabs.
    Other than high memory usage, what other problems are you experiencing? (Examples include slowness, high CPU usage, and failure to load certain sites)
    Many of these issues, including high memory usage, can be caused by misbehaving add-ons. To see if this is the case, try the steps at [[Troubleshooting extensions and themes]]. Outdated plugins are another cause of this issue - you can check for this at http://www.mozilla.com/plugincheck

  • Why we use different clearing account for GR/IR and planned cost clearing a

    My client ask for using same account for GR/IR account and all planned cost clearing account.
    i try to convince it should be different accounts but he needs a logical answer.
    Why we use different clearing account for GR/IR and planned cost clearing accounts?

    Dear friend.
    u just tell him while doing GR it will debited n  while doing IR it should get credited.hence we  need to take diff G/L account or same account.
    regds
    nasir

  • HT201343 My MBP is Early 2011 but dunno why cant use mirroring with apple TV, the icon cannot be found

    My MBP is Early 2011 but dunno why cant use mirroring with apple TV, the icon cannot be found. So cannot use mirroring.
    I have follow trouble shooting , they recommend to go system preference -> display , thus can find out the mirroring icon if no mean it doesnt support. But according to the web, Early 2011 MBP should be able to use, dunno why.

    Just realise I havent updated my OS to mountain lion and this is the reason why I cannot use mirroring before ^^
    Thanks all

  • How to use bean in forms

    i create one form based on emp. then i create beanarea and set its "Implementation Class Property"
    to oracle.forms.demos.Calendar.
    i copied calendar.jar from D:\oracle\ds9i\forms90\demos\jars to this lacation
    D:\oracle\ds9i\forms90\java
    after i write D:\oracle\ds9i\forms90\java\calendar.jar
    in the below registry paths:
    forms90_classpath
    forms90_builder_classpath
    forms90_path
    but not working.i am new in oracle plz help. i want to know how to use bean in forms

    1. \forms\server\formsweb.cfg
    archive_jini=frmall_jinit.jar,FormsProperties.jar
    2. regedit
    HKEY_LOCAL_MACHINE => FORMS_BUILDER_CLASSPATH
    C:\DevSuiteHome_1\forms\java\frmbld.jar;C:\DevSuiteHome_1\jlib\importer.jar;
    C:\DevSuiteHome_1\jlib\debugger.jar;C:\DevSuiteHome_1\jlib\utj.jar;
    C:\DevSuiteHome_1\jlib\dfc.jar;C:\DevSuiteHome_1\jlib\help4.jar;
    C:\DevSuiteHome_1\jlib\oracle_ice.jar;C:\DevSuiteHome_1\jlib\jewt4.jar;
    C:\DevSuiteHome_1\jlib\ewt3.jar;C:\DevSuiteHome_1\jlib\share.jar;
    C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\forms\java\frmall.jar;
    C:\DevSuiteHome_1\forms\java\FormsProperties.jar;
    3. Untuk Jdev.. include..Libraries [THE WAY I AM CREATING A BEAN..NO NEED TO READ THIS]
    ORacle Forms
    C:\DevSuiteHome_1\jdev\lib\ext\frmjdev_pjc.jar

  • How to  populate the List for  second LOV using bean

    hi how can i pass selected value of LOV to second LOV using bean,so can have cascading lov,my lov are as followss,am in jdeveloper 11.1.1.6.0
    <td width="50%" height="22"><af:selectOneChoice
                                            label="#{bindings.LutOrganisationtypesView1.label}"
                                            required="true"
                                            shortDesc="#{bindings.LutOrganisationtypesView1.hints.tooltip}"
                                            id="soc2" simple="true"
                                            autoSubmit="true"
                                            immediate="true"
                                            binding="#{pageFlowScope.orgDetailsBean.orgCat}"
                                            value="#{pageFlowScope.orgDetailsBean.orgCat}"
                                            attributeChangeListener="#{pageFlowScope.orgDetailsBean.listener}"
                                            rendered="true" valuePassThru="true">
                         <af:forEach items="#{bindings.LutOrganisationtypesView1.iteratorBinding.allRowsInRange}"
                                      var="row">
                            <af:selectItem id="tiltco2" label="#{row.description}"
                                           value="#{row.organisationtypecode}"/>
                          </af:forEach>                
                        </af:selectOneChoice>
                      </td>
                    </tr><tr>
                      <td width="50%" height="22">
                        <af:outputLabel value="Type" id="ol5" showRequired="true"/>
                      </td>
                      <td width="50%" height="22"><af:selectOneChoice
                                            label="#{bindings.LutOrgsubtypesView1.label}"
                                            required="true"
                                            shortDesc="#{bindings.LutOrgsubtypesView1.hints.tooltip}"
                                            id="soc1" simple="true"
                                            autoSubmit="false"
                                            partialTriggers="soc2"
                                            immediate="false"
                                            binding="#{pageFlowScope.orgDetailsBean.orgSubtype}"
                                            value="#{pageFlowScope.orgDetailsBean.orgSubtype}"
                                            rendered="true">
                                          <af:forEach items="#{bindings.LutOrgsubtypesView1.iteratorBinding.allRowsInRange}"
                                      var="row">
                            <af:selectItem id="tiltcos2" label="#{row.orgsubtypename}"
                                           value="#{row.orgsubtypecode}"/>
                          </af:forEach>     
                        </af:selectOneChoice>
                      </td>when i select my list i only get one list in second lov it does not show the other selection
    Edited by: adf0994 on 2012/11/08 12:49 PM
    Edited by: adf0994 on 2012/11/08 12:55 PM

    i have this value change listner but still no luck
    private String orgSubtype;
        public void setOrgSubtype(String orgSubtype) {
            this.orgSubtype = orgSubtype;
        public String getOrgSubtype() {
            return orgSubtype;
            public void GetOrg(ValueChangeEvent valueChangeEvent) {
            orgSubtype  = valueChangeEvent.getNewValue().toString();
            refereshpage();
        public void refereshpage(){
            FacesContext facesContext = FacesContext.getCurrentInstance();
            String Refreshpage = facesContext.getViewRoot().getViewId();
            ViewHandler  viewHandler = facesContext.getApplication().getViewHandler();
            UIViewRoot viewroot =  viewHandler.createView(facesContext, Refreshpage);
            viewroot.setViewId(Refreshpage);
            facesContext.setViewRoot(viewroot);
        }i get this error
    Caused By: java.lang.IllegalArgumentException: Cannot convert PRIV of type class java.lang.String to class javax.faces.component.UIComponent
         at com.sun.el.lang.ELSupport.coerceToType(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:250)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:513)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:782)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
         at oracle.adfinternal.view.faces.unified.taglib.input.UnifiedSelectOneChoiceTag.doStartTag(UnifiedSelectOneChoiceTag.java:51)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
         at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
         at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
         at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
         at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:422)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = srd-ws23042 TXID = CONTEXTID = f43e1d034e2e3af8:-7fc86077:13ae01cb0a4:-8000-0000000000000056 TIMESTAMP = 1352380663628
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    my LOV IS
    <af:selectOneChoice
                                            label="#{bindings.LutOrganisationtypesView1.label}"
                                            required="true"
                                            shortDesc="#{bindings.LutOrganisationtypesView1.hints.tooltip}"
                                            id="soc2" simple="true"
                                            autoSubmit="true"
                                            immediate="true"
                                            binding="#{pageFlowScope.orgDetailsBean.orgCat}"
                                            value="#{pageFlowScope.orgDetailsBean.orgCat}"
                                            rendered="true"
                                                                      valueChangeListener="#{pageFlowScope.orgDetailsBean.GetOrg}">
                         <af:forEach items="#{bindings.LutOrganisationtypesView1.iteratorBinding.allRowsInRange}"
                                      var="row">
                            <af:selectItem id="tiltco2" label="#{row.description}"
                                           value="#{row.organisationtypecode}"/>
                          </af:forEach>                
                        </af:selectOneChoice>Edited by: adf0994 on 2012/11/08 1:34 PM
    Edited by: adf0994 on 2012/11/08 4:15 PM
    Edited by: adf0994 on 2012/11/08 4:49 PM

  • What is the intelligent calc? Why we use that?

    If u loads data to parent level where data will be stored?
    What r the unary operators?
         How do u decide dense & Sparse?
         What is the header? Why we use header in the rule file?
    Please give me reply dont say read dabg
    Thank u.......

    OK,
    You have a database/application.
    1. You might have had run the calculation( ie calc script).
    2. after that , you might have loaded the data ,i.e you have infused new data and new data blocks.
    3. For these new data blocks ,you have not run the calculation so far
    4. so, now the intelligent calculation come into picture, with the help of the intelligent calculation concept, we can run the calculation on only the new data loaded or on only new data blocks,which you loaded
    Hope this helps you in understanding the intellligence calculation in short.
    One can enable and disable at his comfort ,and for that please refer to the following commands
    SET UPDATECALC
    SET CLEARUPDATESTATUS
    this is to answer you intelligent calc.
    1. when you load data into the parent level , it ll be stored at the parent level only.
    2. when you go to "Dimension"' tab of the database properties, you can get which one is dense or sparse
    3. in general ,you have a datafile ,and the upper most line is the one ,which has headers,so manipulate the same ,you use headers in the rule file.
    I have not told you to refer DBAG , :)
    But, you got to read DBAG or pick a bootcamp for you to understand further .
    Sandeep Reddy Enti
    HCC

  • Why to use B2B when we can go with ...

    why to use B2B when we can go with A2A with FTP services running in the source and target systems.
    why do we go for parties if the above one is possible.
    plz help out im into loads of confusion

    Hi
    A2A is application to application: when two applications in a company talk to each other we call it an A2A scenario and if its across Companies we call it B2B or buisness to buisness scenarios.
    All the following links will explain   the difference between A2A and B2B
    With scenario’s
    A2A   B2B Scenarios
    can anyone explain A2A & B2B  AND  BPM & ccBPM  with an example..
    Help for Scenario! B2B or A2A
    A2A Vs B2B
    A2A and B2B
    I hope this will answer your question
    regards
    --- prasad

  • Problem in exchange data using Bean

    Hi all,
    I have a problem when creating a portal application.
    I've done through the steps described in this link:
    http://www.ajvic.es/irj/portalapps/com.sap.portal.pdk.htmlb.htmlbmanuals/docs/dynpage-01.html
    In this example, I use bean to exchange data.
    In the function <b>doInitialization()</b> in JSPDynpage.java:
    public void doInitialization()
      // create the bean and set a default text value "unknown user
       IPortalComponentRequest request  = (IPortalComponentRequest) this.getRequest();     
       IPortalComponentContext myContext = request.getComponentContext();          
       IPortalComponentProfile myProfile = myContext.getProfile();
       // new bean object  
       UserNameContainer = new DynPageNameBean();
       // set default name
       UserNameContainer.setName("unknown user");
        // store bean in profile for the JSP
        myProfile.putValue("UserNameBean", UserNameContainer);
        // Now we set the state so that we can decide what action to do next
        state = INITIAL_STATE;     
    The code: <b>myProfile.putValue("UserNameBean", UserNameContainer);</b> give a warning: "The methode getValue(String) from the type IPortalComponentProfile is deprecated" and I see that the value of UserNameContainer is <b>not</b> assigned to "UserNameBean".
    If I use this code:
           UserNameContainer = (MyBeanClass) myContext.getValue("MyB");
         UserNameContainer.setName(name);
    The result is the same.
    Do you know how to solve this problem ?
    Thank you in advance & kindly regards.
    Tweety

    Hi
    Here is what you should do.
    First The Bean
    public class UserBean implements Serializable {
    private String name;
    public String getName() {
         return name;
    public void setName(String string) {
         name = string;
    Next the Dynpage DoInitialization Method .
         IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   UserBean myBean = (UserBean) request.getComponentSession().getValue("myBean");
                   if (myBean == null) {
                        myBean = new UserBean();
                   myBean.setName("Unknown User");
    request.getComponentSession().putValue("myBean",myBean);
    this.state = INITIAL_STATE;
    Next the JSP
    <%@ taglib      uri="tagLib" prefix="hbj" %>
    <jsp:useBean
         id="myBean"
         scope="session"
         class="UserBean"
         />
    <html>
         <hbj:content
              id="myContext">
              <hbj:page
                   title="PageTitle">
                   <hbj:form
                        id="myFormId">
                                                                                              <hbj:textView
                             id="s1" >
                             <%
    s1.setText(myBean.getName());
                             %>
                        </hbj:textView>                    
                   </hbj:form>
              </hbj:page>
         </hbj:content>
    </html>
    Regards
    Rajendra

  • Why we use Cluster Tables in SAP Hr

    hai friends, i am new to  ABAP-HR and SAP HR, Actually i am core abaper ( working on SD, MM and Fi Modules ) , can any one explain me why and what is the use of Cluster tables in SAP HR, why we use in SAP HR function Module ?
    Thnx in advance
    Vijaya

    Hi Vijaya,
    This may help for ur question..
    Why cluster table:
    Cluster tables combine the data from several tables with identical (or almost identical) keys into one physical record on the database.
    Data is written to a database in compressed form.
    Retrieval of data is very fast if the primary key is known.
    Cluster tables are defined in the data dictionary as transparent tables.
    External programs can NOT interpret the data in a cluster table.
    Special language elements EXPORT TO DATABASE, IMPORT TO DATABASE and DELETE  FROM DATABASE are used to process data in the cluster tables.
    PCL1 - Database for HR work area; (long text, etc)
    PCL2 - Accounting Results (time, travel expense and payroll); (payroll results)
    PCL3 - Applicant tracking data;
    PCL4 - Documents, Payroll year-end Tax data (change logs, etc)

  • How to create a pie graph in 10g or 9i forms using beans??

    Hi..
    Please can anyone show me how to use pie graphs in oracle 10g or 9i forms using bean?
    i also want to know how to put data in pie graph.. as u know in column graph for example we have an x-axis and y-axis,and in pie there is no x-axis and y-axis.. so how i can put the same data in pie graph.. and also i may need more than one value for the x-axis or the y-axis to use in pie graph so how can i do it??
    i use set_custom_property to call properties in beans.
    I would so thankful for how can answer me.. please its urgent
    Thanks.

    there are some other posts to this topic - How to create a pie graph in 10g or 9i forms using beans?? and so on.
    use the search function of this forum. this may the fastest way for your urgent question

Maybe you are looking for

  • PDF convert

    Hi all, I need a possibility to convert Web Report designed in WAD into PDF. SAP help portal says: 'You access BEx Web applications and reports in the portal. You can then convert these into PDF files and print them.' (http://help.sap.com/saphelp_nw0

  • Why can't I change the names of my states in my symbol?

    For some reason, Fireworks won't let me change the names of my states in my symbol. I double click on the state name in the states panel, and nothing happens. It works fine for normal "non-symbol" pages. Can you normally change the names of states in

  • PNG Import Problem

    A relatively new user here having problems with importing files to FreeHand. I'm trying to import a high resolution PNG file to a large page (~36 x ~60inches) for plotting. When importing this file I geet a large x-box instead of the image preview, a

  • Upload/ Download with dynamic contents

    Hi Friends, I have to download a table content to an excel sheet that is dynamically generated on the basis of users' selection. I gone through examples 23 & 39 given in samples section for web dynpro but that works when I know the exact file to be d

  • Set up Cluster with D1000

    Im trying to set up a cluster configuration only with two Ultra5. I don't know if it is mandatory to get storage array, or only to have a spare shared disk plus private disk is enough. I am about to buy D1000 storage array but the seller just told me