Is component a container

Hi,
I want to stream line my project's deployment process .To do that I need answers for the following questions
I have hard time understanding(in deployment perspective) component,service unit(Service assembly) parts in JBI specifications.
1. Is it true that a component is a container?Is JBI container is the container of different component containers?
2. When we create a WSDL in any BC/SE, it creates a new service in that component.Where dose this new service gets created? is it in the component container or A separate process in the JBI container?
3.What is the architecture of each new service that's get created in the componenet container? is it a process based(like CGI) or thread based(like servlet) or component based(Like EJB).
When I was working in following scenario
client sends SOAP-->HTTPBC-, HTTPBC-->external service (a service(adding two integers) deployed in different environment).
4. How does component works here.is it still creates the new service in the component and that new service connects to the external service?or it directly connects to the external service
5.Are there any deployment guidelines for JBI in general?
Thanks,
Jay

Hi,
1. Yes, component can be container.But not all components can be containers.Those components that don't either have a fixed set of services offered , or use other mechanisms to dynamically vary their behavior can become Component Containers.To become a container component should implement ServiceUnitManager Interface.
Ex: XML transformation service engine, which uses XSLT as the way of specifying new transformation types that the component offers as a service. In this case, as new XSLT style sheets are deployed to the service engine using Service Unit. Here we are adding new service so XSLT SE component.So, XSLT SE is a container.
2. In a JBI Environment (Correct me).
3. Think it as a new runtime class that's get generated at the time of Service Unit startup(Correct me).
4. No,it will not create any new service.It uses external service's WSDL(Which supplied during Service Unit Deployment) to send request to external service .
Thanks,
Jay

Similar Messages

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • Which Component or container in Swing allow to Display new Windows

    Which Component or container in Swing allow to Display new Windows as like property windows , nevigator windows as with most of IDE (like netBeans)and also when windows is closed that space is utilized by existing open other windows, if new window open than it adjust to existing open widow so that both window open side by side, vertically or horizontally
    I want it
    help me

    hi!
    JDesktopPane - JInternalFrame - JLayeredPane
    http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html
    :)

  • Create custom declarative component like container

    Hi all,
    I'm using Jdev 12c.
    I wanna create a custom declarative component like this:
    container.jsf :
    <af:panelGroupLayout id="#{attrs.Name}_VIEWPORT" layout="scroll" binding="#{attrs.Binding}"
                             inlineStyle="position:absolute;width:#{attrs.ViewportWidth}px;height:#{attrs.ViewportHeight}px;top:#{attrs.ViewportY}px;left:#{attrs.ViewportX}px;border:1px solid;background:#c6c6ff;z-index:#{attrs.ZIndex};">
            <af:panelGroupLayout id="#{attrs.Name}" layout="scroll"
                                 inlineStyle="position:absolute;width:#{attrs.Width}px;height:#{attrs.Height}px;">
            </af:panelGroupLayout>
        </af:panelGroupLayout>
    <af:xmlContent>
            <afc:component>
                <afc:description/>
    </af:xmlContent>
    I use this custom component to group some child components like this:
    <abc:container ...>
         <af:inputText ... />
         <af:inputText ... />
    </abc:container>
    But the things is in Java code, I cannot get RichInputText components :
    this is my function:
        private void getFacetAndChild(UIComponent parent) {
            Iterator childrens = parent.getFacetsAndChildren();
            while (childrens.hasNext()) {
                UIComponent child = (UIComponent)childrens.next();
                System.out.println("Log child >> " + child);
                getFacetAndChild(child);
    this function only print the second RichPanelGroupLayout.
    Any ideas to help me to get all RichInputText ?
    Thanks and Best Regards!

    Hi All,
    I found the solution. Just add one facet to Custom Container
    <af:panelGroupLayout id="#{attrs.Name}_VIEWPORT" layout="scroll" binding="#{attrs.Binding}" 
                             inlineStyle="position:absolute;width:#{attrs.ViewportWidth}px;height:#{attrs.ViewportHeight}px;top:#{attrs.ViewportY}px;left:#{attrs.ViewportX}px;border:1px solid;background:#c6c6ff;z-index:#{attrs.ZIndex};"> 
            <af:panelGroupLayout id="#{attrs.Name}" layout="scroll" 
                                 inlineStyle="position:absolute;width:#{attrs.Width}px;height:#{attrs.Height}px;"> 
                           <af:facetRef facetName="child"/>
            </af:panelGroupLayout> 
        </af:panelGroupLayout> 
    <af:xmlContent> 
            <afc:component> 
                <afc:description/> 
    </af:xmlContent> 
    And the used page:
    <abc:container ...>
         <f:facet name="child">
              <af:inputText ... />
              <af:inputText ... />
         </f:facet>
    </abc:container>
    Maybe this solution will help others to create a custom container
    Thanks and Best Regards!

  • Problem with showing palette component which contains swing components

    hello, I have found a simple problem with jdeveloper IDE but this simple problem delays my project and it make late a big project so help me please. I want to add somes swing components to a JFrame
    but when I try to show the palette component as usual I didn't find the swing components like habit.
    Best Regards

    duplicate
    Frank

  • Component Name '/BI0/9AVERSION' of the Component 1 Contains an Invalid Char

    We get this error while trying to run a DTP with a filter in it. If the field on which the filter is applied is alphanumeric, we do not get this error. But a character (like '/' in this case) results in this error.
    Anyone else seen this?
    Thanks,
    Pramod

    RSKC is already set to ALL_CAPITAL. So, that doesn't seem to be the cause?

  • How to contain a sub-component in the module instead of containing it in the main application

    Hi,
    I've 3 files
    Appln.mxml (application file)  ----  contains main application
    component.mxml (component file)  ----  contains component
    module.mxml (module file)  -----  contains module
    Generally the 'component.mxml' file will get loaded into the 'Appln.mxml' file (i.e., 'Appln.mxml' file will contain the custom component files) and whereas module file will get loaded on-demand.
    So Now instead of containing the data of 'component.mxml' file in the 'Appln.mxml',  I want to contain 'component.mxml' file data in the 'module.mxml' file itself and load the 'component.mxml' when module is loaded on-demand but not when application is loaded. So can any one please suggest me how to do it?
    Thanks in advance..

    Theo--
    You can delete software components & versions from the IR in XI 2.0.  (We're on Service Pack 5, and I've done it to clean up our IR.)
    Here is the process:
    1. Delete all configuration and/or import objects from the SCV.  Don't forget the 2 fault data types that SAP automatically creates in every namespace.
    1a.  Activate all change lists?  I don't remember for certain if this is needed here; if it won't let you save the deleted namespaces in step 2, then do this first.
    2. Double-click on the Software Component Version so that it comes up in the right pane.  Click on the change/edit button.  Delete all the namespaces from the SCV.  Save.
    3. Activate all change lists.  (It won't let you delete the SCV if you have uncommitted changes.)
    4. Open the SCV again (if it's not still open).  On the menu at the top of the right pane, go to Software Component Version...Delete.  You may or may not have to activate changes again.
    If I remember right, the software component will disappear automatically with the deletion of the last version.
    Hope this helps!
    --Dan King
    Capgemini

  • How do I insert/Delete/Update a row to the DB Table from Business Component Browser

    I am using the wizard and created a project containing Business component which contain some table.
    When I run the project I could see "Oracle Business Component Browser(local)" and when I select some table from "View Object Member" I get a window displaying all the field of that table and I could browse all the info.
    My Problem is when I try to insert a new record/Delete the existing record or update some record it never gets reflected to the DataBase.
    When I try to insert a new row I did save and there was a dialog box displayed saying "Transaction ID is 1". But finally It's not reflected in the Database.
    Can some one guide me how can I do insert/delete/update operation from Oracle Component Business Browser so that the changes reflect to the Original DataBase.
    Thanks in advance
    Jitendra

    Jitendra,
    This may be a problem of caching. If you do an update,insert, or delete, and do not receive an error, then the transaction should indeed be posted.
    I assume you are hitting the Save icon after your changes if you are getting a transaction ID. Are you checking for the updates through another session (i.e. SQL*Plus), or do you then requery the View Object in the tester? Do you exit the tester and come back in and not see the changes?

  • To fetch data from a standard component through Component Controller

    Hi,
    I have a requirement in which i have to access and display a standard view of a standard component in a Custom Component.
    I am able to display or configure that view on Custom Component by using Component Usage and Component Interface. But unable to populate the data in that view. Although i have exposed a context node in the standard component and created the same context node in my custom component in the Component Controller and using its method WD_USAGE_INITIALIZE to bind them.Please, provide some pointers on it.
    Cheers,
    Sharad

    Hi Sharad,
               The data will show up only if you put them there. May be the standard component itself gets the data from some where else. Usually, these data are provided by the component controller. For example, the component controller contains the header entity and the used component has access to the header entity via binding and shows all item entries fetched via relations(usually this is done in on_new_focus method). If the binding is there, but no data ia available, it will stay empty.
             Check a standard main component which uses the standard component that you are using and look at how they are establishing the connections.( component/custom controller bindings, on_new_focus methods,,)
    Regards,
    Arun Prakash

  • Dynamic embedding of view in used component

    Hi All,
    I have a scenario were i have to provide print functionality to all the views of an existing web dynpro component. This component has around 20 views. I have developed a new component for the print functionality were i am using BSP to fire the CTRL+P function.
    But the problem is how do i get the view at runtime in my print component.....?
    I tried passing the view controller reference to the print component through context binding, but i am unable to embed the view through the reference in to the print component view container element.
    Is there any way i can acheive this....???
    Any help will be appreciated..!
    Regards,
    Runal

    hi Runal ,
    have a look at this video presntation for dynamic embedding of views :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/5cb731e7-0b01-0010-1792-fbe5f55e39d2
    or
    I wud suggest u to procced like this :
    1 In design time , insert all ur views inside ur tansparent container
    2 * initially set all ur view to invisible* , for this :
    Re: Making UI elements visible at runtime based on events.
    a) make a context attribute of type WDUI_VISIBILITY
    b) bind this attribute wid ur view
    c) set the view to invisible by setting the context attribute to '01' using set_attribute method
       DATA lo_nd_cn_visiblesuper TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_visiblesuper TYPE REF TO if_wd_context_element.
        DATA ls_cn_visiblesuper TYPE wd_this->element_cn_visiblesuper.
        DATA lv_ca_visible LIKE ls_cn_visiblesuper-ca_visible.
    *   navigate from <CONTEXT> to <CN_VISIBLESUPER> via lead selection
        lo_nd_cn_visiblesuper = wd_context->get_child_node( name = wd_this->wdctx_cn_visiblesuper ).
    *   get element via lead selection
        lo_el_cn_visiblesuper = lo_nd_cn_visiblesuper->get_element(  ).
    *   get single attribute
        lo_el_cn_visiblesuper->set_attribute(
          EXPORTING
            name =  `CA_VISIBLE`
            value = '01').
    // context attribute CA_VISIBLE under node cn_visible set to invisible
    3 nw based pn ur condition , whn u wanted to do dynamic embedding , at tht time make ur view visible inside ur appropriate method
    this wud do
    rgds,
    amit

  • Itemization does not match cost component split

    Hi,
    I need your help or could you please shed some light as to how to fix .
    A new Overhead was created, in order to add expenses to the pricing of the product. For it a variant  of different pricing to which is used currently was created, and so for maintain a historic one of the information.
    In addition, in the cost component Structure an adjustment of the configuration was carried out, this was done because the previous the cost component Structure contained 18 elements of costs, which the most of the elements were specified as fixed and variable costs, therefore the  system only permitted the addition of  2 more elements  (SAP only permits 20 elements of fixed and variable costs), nevertheless was necessary to create a total of 23 elements of costs. For it  the previous elements have to be modified and to change some elements as variable costs, specifically the elements corresponding to the accounts of materials.  using tcode OKTZ
    The addition of 5 more elements of costs, corresponding to overhead  elements, where the type 41 costs classes were configured from the plan of surcharge created. 
    After carrying out the changes and to transport them the client of production, when i execute the T-code ck13n an inconsistency in the previous pricings was generated, because  the cost component Structure was modified and the the following one Nº message was showed:  CK869 " Mat.XXX in plant XXX: itemization does not match cost component split, the report of itemization shows different values to the reports of Costed Mutilevel BOM and of Cost  Components.  Additionally to the error shown by the system, also is observed that to the Cost  Components report    a cost in the new elements of overhead  was added, even when the  calculation of previous cost did not contain the determination of overhead.
    In order to fix the error, I modified the cost component structure as it was before and the created another  cost component structure with the required changes requested by the client specifying that it should start to be current this year. However after that change the error message nºCK869 continue: Mat. XXX in plant XXX: itemization does not match cost component split. Adding to that error message, the cost of the finished product changes with reference to the calculus of the previous product after modified the configuration and that is because the cost of the semifinished product is not being taken the values of the row material, and it is appearing with cost 0 and the only value that is taking on the matter are the costs of the activities types.

    If you want the message to go away then you need to mark and releasse the estimate.  However, there is no requirement that you do this.  The message you are getting is an informational message only.  You can continue without re-costing the item.  If you do re-cost the material the new cost estimate will reflect and changes you've made to the components, so there is a good chance you will get a different value with the new estimate.  So if that's ok, go ahead and mark and release the new estimate.

  • Disposed component in an applet

    an applet sometimes throws a NullPointerException. here is the tree:
    java.lang.NullPointerException: disposed component at
    sun.awt.windows.Win32SurfaceData.initOps(Native Method) at
    sun.awt.windows.Win32SurfaceData.<init>(Unknown Source) at
    sun.awt.windows.Win32SurfaceData.createData(Unknown Source) at
    sun.awt.windows.WComponentPeer.<init>(Unknown Source) at
    sun.awt.windows.WChoicePeer.<init>(Unknown Source) at
    sun.awt.windows.WToolkit.createChoice(Unknown Source) at
    java.awt.Choice.addNotify(Unknown Source) at
    java.awt.Container.addNotify(Unknown Source) at
    java.awt.Panel.addNotify(Unknown Source) at
    java.awt.Container.addNotify(Unknown Source) at
    java.awt.Panel.addNotify(Unknown Source) at
    java.awt.Container.addImpl(Unknown Source) at
    java.awt.Container.add(Unknown Source) at NewTable.init
    (NewTable.java:75) at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    as you see the exception is thrown in line 75.
    line 75 in my code looks like this: i add a panel
    to the appletwhich were relayouted earlier with borderlayout. it
    looks like this:
    74 Panel p=new Panel();
    75 this.add(p,BorderLayout.CENTER);
    now, the exception is probably thrown because i run the add() method
    on a component which containment hierarchy is made undisplayable.
    according the api it can happen when the component's ancestor window
    is disposed.
    the question is why it is getting disposed? i payed attention that
    the exception is thrown only on 2 specific win98 machines and it's
    never thrown when the user opens the applet in the first time.
    usually it happens when a number of users visit the same page which
    includes this applet and the browser is not closed between the user
    sessions...but! the users always press a button on applet which redirects them to another page, which means that the applet calls destroy() on itself ...
    i thought to add an isDisplayable() check , but it will only give me
    a control over the exception, not the no-problem-sollution.
    any ideas what can be fixed?
    thanX

    how do you run your applet - using applet viewr or a browser?
    anyway, when debugging, don't assume anything.
    in line 75 you may try System.err.println( this )
    if you don't get null, try:
    System.err.println this.GetXXX() and print as much as you can about your object.

  • Unable to reRender programatically using A4J in custom component

    Hi,
    I am new to JSF and stuck with reRender functionality of Ajax4Jsf. I have to write an ajax enabled custom JSF component that contains several simple child components such as text box and selectOneMenu. for the convinience I assume one text box and one combo box. I have to update the content of text box when I change the value in selectOneMenu. but I am unable to do so, Everything is working fine as per JSF life cycle. Here is the code of my encodeBegin method.
    public void encodeBegin(FacesContext context) throws IOException {
    super.encodeBegin(context);
    this.getChildren().clear();
    Application application = FacesContext.getCurrentInstance().getApplication();
    HtmlForm htmlForm = new HtmlForm();
    htmlForm.setId("reportConfigureForm");
    this.getChildren().add(htmlForm);
    HtmlInputText htmlInputText = new HtmlInputText();
    htmlInputText.setId("testInputText");
    ValueBinding testInputTextBinding = application.createValueBinding("#{" + getReportBeanName() + ".selectedReport}");
    htmlInputText.setValueBinding("value", testInputTextBinding);
    htmlForm.getChildren().add(htmlInputText);
    HtmlAjaxRegion htmlAjaxRegion = new HtmlAjaxRegion();
    htmlAjaxRegion.setId("reportSelect");
    htmlAjaxRegion.setSelfRendered(true);
    htmlForm.getChildren().add(htmlAjaxRegion);
    HtmlSelectOneMenu htmlSelectOneMenu = new HtmlSelectOneMenu();
    htmlSelectOneMenu.setId("selectedReportType");
    htmlSelectOneMenu.setStyleClass("dropdown");
    htmlSelectOneMenu.setRequired(true);
    ValueBinding valueBinding = application.createValueBinding("#{" + getReportBeanName() + ".selectedReport}");
    htmlSelectOneMenu.setValueBinding("value", valueBinding);
    UISelectItems uiSelectItems = new UISelectItems();
    List<SelectItem> selectItems = new ArrayList<SelectItem>();
    for (Map.Entry<String, String> report : getReportBean().getReports().entrySet()) {
    selectItems.add(new SelectItem(report.getKey(), report.getValue()));
    uiSelectItems.setValue(selectItems.toArray(new SelectItem[selectItems.size()]));
    htmlSelectOneMenu.getChildren().add(uiSelectItems);
    HtmlAjaxSupport htmlAjaxSupport = new HtmlAjaxSupport();
    htmlAjaxSupport.setEvent("onchange");
    htmlAjaxSupport.setReRender("reportConfigureForm:testInputText");
    htmlSelectOneMenu.getFacets().put("a4jsupport", htmlAjaxSupport);
    }What i think is that I am passing the invalid component id tp setReRender method thats why it is not getting rendered. Please let me know if I am doing wrong, or point me to any tutorial for the same. Also please point me to any better ways of doing the same. I am also not very happy about the way I populated the htmlSelectOneMenu. I thought that for every JSF tag we have corresponding java class but was unable to find one corresponding to <f:selectItems>, hence I used above way for populating the htmlOneMenu.
    Thanks in Advance
    Ahsan

    I have solved similar problem.
    The problem was, that created components has to be properly "registered" to component tree. It means, that for all components You have to set parent and childrens:
           this.getChildren().add(htmlForm);
           htmlForm.setParent(this);See example bellow:
    @SuppressWarnings("unchecked")
    public void encodeBegin(FacesContext context) throws IOException {
           this.getChildren().clear();
           Application application = FacesContext.getCurrentInstance().getApplication();
           HtmlForm htmlForm = new HtmlForm();
           htmlForm.setId("followupForm");
           this.getChildren().add(htmlForm);
           htmlForm.setParent(this);
           HtmlAjaxOutputPanel htmlAjaxPanel = new HtmlAjaxOutputPanel();
           htmlAjaxPanel.setId("followupPanel");
           htmlAjaxPanel.setParent(htmlForm);
           htmlForm.getChildren().add(htmlAjaxPanel);
           HtmlInputText inputPhoneNum = new HtmlInputText();
          inputPhoneNum.setId("phoneNum");
           ValueBinding testInputTextBinding = application.createValueBinding("#{calculationBean.phoneNum}");
           inputPhoneNum.setValueBinding("value", testInputTextBinding);
          inputPhoneNum.setParent(htmlAjaxPanel);
           htmlAjaxPanel.getChildren().add(inputPhoneNum);
           HtmlAjaxCommandButton htmlSendButton = new HtmlAjaxCommandButton();
           htmlSendButton.setId("sendButton");
           htmlSendButton.setValue("Odeslat");
           htmlSendButton.setReRender(htmlAjaxPanel.getId());
           htmlSendButton.setAction(application.createMethodBinding("#{calculationBean.setPhoneNumAction}", null));
           htmlSendButton.setParent(htmlForm);
           htmlForm.getChildren().add(htmlSendButton);
           //AjaxRendererUtils.addRegionsFromComponent(htmlSendButton, context);
           htmlForm.encodeBegin(context);
           htmlAjaxPanel.encodeBegin(context);
          inputPhoneNum.encodeBegin(context);
          inputPhoneNum.encodeEnd(context);
          htmlAjaxPanel.encodeEnd(context);
           htmlSendButton.encodeBegin(context);
           htmlSendButton.encodeEnd(context);
           htmlForm.encodeEnd(context);
           super.encodeBegin(context);
      }

  • Business Component  and  Communication Component

    hi
    is there any difference between Business Component and Communication Component in PI 7.1.
    I assume business service of pi 7.0 is become Business Component.

    Business Service of PI7.0 is now Business Component of PI7.1 with the same functionality
    Communication Component is containing Business Components, Integration Process, Business System)

  • Problem in transporting the component Controller

    Hi Friedns,
    We had a problem when transporting a WD Componenrt controller. Til Quality it when ok. But when the transport reached to production we saw that from the attributes tab of the Componenrt controller the WD_ASSIST WAS MISSING . Due to which it was giving a dump. We recreated a new transport and sent it but that didnt worked to .
    Can anybody advise any solution. In the dump it is saying Component ZBASE_RATE CONTAINS SYNTAX ERRORS.
    THANKS
    Rohit

    Hi,
    It might be difference of the environments in ur quality and production systems.
    Check whether both systems are having the same level of webdynpro patches.
    You can check with ur basis people for this clarification.
    Regards,
    Veerendra Nath

Maybe you are looking for