Distributed Component question

Hi,
I've a question about the set-up/architecture of a project. Im thinking of an application which has like 2 screens which is a simple master detail setup. A list contains items of a certain type. Dependant of the type, a specific screen has to be shown with its details. As certain types are financial related and some are human resource related for  example i want a way to seperate them project wise.....This because when i want to fix something in the financial screens, i dont want to impact the human resource stuff with deployment. After reading some things, i got the impression that distributed components could work here. Then i could create a component which is deployed seperately of its main application and doesnt affect other components when a fix is needed. Im i on the right track here?
Can anyone also point me to a tutorial of how to create a simple distributed component. All i could find was a ppt of a teched which i found quite complicated.
much thanks & regards,
Hugo

Hi Hugo,
I suggest you to go through componentization articles by Bertram.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/presentation%20-%20web%20dynpro%20component%20interface%20defintions%20in%20practice.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/readme%20-%20web%20dynpro%20component%20interface%20definitions%20in%20practice.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20java%20for%20experts:%20Web%20Dynpro%20Component.pdf
Regards, Anilkumar

Similar Messages

  • Hyperion distributed installation question

    Gurus,
    We are upgrading from 9.3.3 to 11.1.2.1(Distributed environment) and have gone through the 11.1.2.1 start here , installation and configuration guides.
    Existing environment:
    Machine1(Windows 2003 R2): Hyperion Shared Services, EAS webapp,Essbase Provider Services(WebApp)
    Machine2(Windows 2003 R2): Workspace, BI+ Services, BI+ UIServices, BI+ Client, Web Analysis, Financial Reporting, Interactive Reporting
    Machine3(Windows 2003 R2): Planning Application/Web Server,EPMA web
    Machine4(Windows 2003 R2): HFM Web/App , FDQM Web/App
    Machine5(Linux 32bit) : Essbase Server
    Machine6(Linux 64bit) : Oracle RDBMS
    On Upgraded env plan to move to Windows 2008 and have:
    Machine1(Windows 2008 x64): Foundation Services (Hyperion Shared Services,Workspace web,EAS webapp, EPS webapp)
    Machine2(Windows 2008 x64): Web Analysis,Reporting&Analysis Framework,Financial Reporting,Interactive Reporting,
    Machine3(Windows 2008 x64): Financial Management App/Web, FDQM Web/App
    Machine4(Windows 2008 x64): Planning Application/Web Server,EPMA
    Machine5(Linux 64bit) : Essbase Server
    Machine6(Linux 64bit) : Oracle RDBMS
    From Page 94 "Oracle® Hyperion Enterprise Performance Management System Installation and Configuration Guide RELEASE 11.1.2.1 Updated: June 2011" states:
    a)
    On the machine on which you plan to administer the WebLogic Server, you must install all
    Web applications for all applications you plan to deploy on any machine in the environment.
    (The WebLogic Administration Server is installed and deployed on the Foundation Services
    machine.)
    b)
    On each remote machine in a distributed environment, install the Web applications you
    plan to run on that machine and then use EPM System Configurator to deploy the Web
    applications automatically, or manually deploy the Web applications.
    Note that EPM System Installer installs WebLogic Server on each machine (for Web tier and
    Service tier components) in a distributed environment.
    c)
    If you are deploying Web applications on a machine other than the WebLogic
    Administration Server machine, WebLogic Administration Server must be running
    Question:
    ======
    1) After installing components on respective machines per guideline a),b) above do we have to deploy webapps from products related to machine2,3,4 on machine1(foundation services). If everything gets deployed on Shared service machine -- we are concerned about the system resources that will be needed to run all the webapps.
    2) Assuming we do not want to use a cluster - do we still have to depoy to admin server? Please clarify.
    Best Regards

    When you say:
    Machine B Install Planning web application server
    Then go back to Machine A and install Planning web application server
    >>
    For this I understand from EPM Installer options need to select option of install components individually or by tier and choose all relevant components for plannnig
    Could you please clarify why this step is required - meaning what is purpose behind this - It would create software directory and install files right.
    We have already done this on above machine B earlier right? So duplicating the installation piece?
    Are we doing this in order to setup weblogic cluster like active passive config or just for convenicen to deploy?
    Deploy and Configure Planning web application server on Machine B and deploy to an exisiting domain on Machine A
    So this part is just launching EPM configurator and do tasks related to Plannnig on machine B and when choosing the domain select option to use already created on machine A right?Also when I do the installation for Planning on Machine B - wont it also install admin server on same machine which I can use to deploy locally? Please clarify.

  • Flash MX2004 Loader Component Question

    Hi all,
    I have a question regarding the loader component that ships
    with Flash MX 2004. I am using the component to load .swf files. As
    far as I can tell, the component will not begin to play a .swf file
    until it is 100% loaded. Is this correct? If not, is there any way
    to make it play as it is downloading? This IS possible with the
    MovieClipLoader class but I currently have a complex application
    built using the loader component.
    If anyone has any suggestions, I would appreciate it.
    Additionally, I could extend the class if anyone can point me in
    the direction of what would need to be changed in the class.
    Thanks,
    John

    I'm only trying to interpret what that message is telling me in this response.  It seems to be indicating that you have some object in the library that you have named "calLoader" and assigned it a linkage ID of Loader (possibly by default) as well as another object in the library named myLoader that has the same linkage ID (possibly by default).
    If these two objects are the same component type, then you only need one of them in the library.  The different naming of them can be managed on the stage.

  • Dynamically add component question?

    Hi:
    Here is part of my code in short:
    public class TextInputWithAutoComplete extends TextInput
    private function addComp():void{
    list = new List();
    list.id = "autoCompleteList";
    list.x = 0;
    list.y = 20;
    list.addEventListener(MouseEvent.MOUSE_UP, handleMouseDown);
    parentDocument.addChild(autoCompleteList); OR addChild(autoCompleteList); //my question is here
    private function handleMouseDown():void{
    //TODO
    I realized that if I do addChild, I can't really see the dynamically added component, since flex did not reserve space for my List to display. So I do parentDocument.addChild, and then the component appears no problem. My question is since it's being added in the parentDocument, so it is suppose to be a component belong to parentDocument, so is that component still be able to call this handleMouseDown?
    From my experience, it's still able to, but which doesn't make sense to me.
    Can someone explain a little about why it can still work, or any better approach other than parentDocument.addChild
    Thanks.

    In Flex there is a lifecycle that represents the contract between the component and its parent.  See the chapters on creating custom components and the lifecycle methods createChildren, commitProperties, measure and updateDisplayList.
    Some components size to content like Containers.  When you add a child to a container it will measure the child and make room for it or add scrollbars if there isn't enough room.
    If you add a child to TextInput, it doesn't expect additional children so it will not make room for it.  You can subclass and override its measure and updateDisplayList methods to make room for an additional child.
    I would not recommend adding another interactive control to an interactive control since that will make managing focus and accessibility much harder.  It is better to group these in a container in most cases.
    The reason the mouse handler still gets called is because a handler can be on any object whether it is a child or sibling or parent and will be called by the object dispatching the event if the handler is listening to that object.  If you had attached the handler to "this" it would not get called when the List is not a child of "this".
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Code Structure / Component Question

    I'm new to Flex and trying to learn as much as I can on my own without help, but I've run into a question that I'm not finding an answer for.
    I've read about creating MXML components and understand that, as well as creating AS classes, that that makes sense too.
    I have code in the default package which displays the Datagrid component (MXML) but also has ActionScript code in the same source file to load the datagrid via PHP (HTTPService) as well as define what happens when cells are updated (sending data back to update the DB via PHP).
    This is all pretty much a self-contained "component" for manipulating data from a particular MySLQ table from this single datagrid.  I have the grid displayed on one tab of the tab navigator.
    My problem is that I'd like to create a similar datagrid on a separate tab which does the same thing for a different table.   I know this code needs to be separated and not in one MXML file, but I'm not finding how to either structure my project to do this, or else make each datagrid (along with the associated AS code) into a separate component.
    Would appreciate any help or examples you may have.
    Thanks,
    Gary

    Thanks for pointing me in this direction -- I had started that way, but got confused.  Here are the first few lines of my current code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                                            width="998" height="656" creationComplete="init()" layout="absolute">
              <mx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.events.PropertyChangeEvent;
                                  import mx.events.CollectionEventKind;
                                  import mx.events.CollectionEvent;
                                  import mx.events.DataGridEvent;
                                  import mx.controls.TextInput;
                                  import mx.rpc.events.ResultEvent;
                                  import mx.collections.ArrayCollection;
                                  import com.adobe.serialization.json.JSON;
                                  import com.adobe.viewsource.ViewSource;
                                  [Bindable]
                                  private var callbackUrl:String;
    Naturally, my datagrid tag is dozens of lines below this:
    <mx:TabNavigator x="23" y="10" width="831" height="506">
    <mx:Canvas width="100%" height="100%" label="Learners">
    <mx:DataGrid id="dgData"
    x="27"
    y="19"
    width="778"
    Can you show me a quick example of how I'd put this together with the top tag as you described?
    Thanks again,
    Gary

  • Distributed JMS Question

    Domain 1 (host1)
    =========
    I have 2 JMS servers target to 2 managed servers. I have Distributed Queues (distqueue1 & distqueue2) in a module targetted to both of the jms servers.
    Where Managed server 1 --> Host 1
    Managed server 2 --> Host 2
    Domain 2 (host2)
    ========
    I have an application deployed on the clustered environment.
    =============================================================-
    Till now I use to have my app connected to (Domain 1(host1)) to one jms server (targetted on ManagedServer 1), now I want my application to do lookup to the clustered JMS on both the servers.
    So my question is how we proceed with the application to talk to the clustered jms (on multiple managed servers (on multiple physical hosts))

    You can specify the distributed destination JNDI name for the destination. Weblogic provides cluster wide JNDI replication - so any object that is deployed to any of the managed servers or to the cluster will be visible in the global JNDI tree of all the managed servers in the cluster. So for the JNDI lookup you can connect to a single managed server, or, A better load balanced approach would be to use a dns lookup where your app connects to a dns name and the dns is resolved to different IP address ( man1 IP, man 2 IP etc) on each lookup.
    You will have to get the load balancing setup on the Connection factory and the CF has to be deployed to a cluster to avoid unwanted routing between the man servers.
    This has been discussed a lot in the jms forum. Please search and you will get more details.
    One good link I got with a quick search
    Clustering with a load balancer
    Edited by: atheek1 on 25-Mar-2010 01:02

  • Component question with textfield

    I'm creating a keyboard entry component for a touchscreen.
    When the user
    hits the enter button I want to change a textfield in a
    movieclip to the
    text they typed in. The movieclip is outside of the
    component. There maybe a
    screen with multiple text entry boxes. So what I want to do
    is pass in a
    textfield reference into the component using getter and
    setter functions.
    However I am having trouble. Here's an example of what I'm
    doing.
    //mcKeyboard is the component name on the timeline
    //tfDisplay is the textfield on the timeline with the text
    'help' in it
    mcKeyboard.tfEnter = tfDisplay;
    //When I click the enter button in the component, I have the
    script trace
    the text. Here is the enter button script
    trace(tfEnter.text);
    //this displays undefined
    Am I able to pass a textfield or movieclip or something like
    that into a
    component.
    Jeff

    You will have to break the data out of the cluster and present them to the 3d Graph a seperate arrays for X,Y,Z, and W where "W" is your measured values from the locations described by X,Y,Z.
    This thread shows how to plot readings in 3-space. The following image shows the data the original questioner wanted to plot.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Distributed Audio Question

    Hi All,
    As a follow on to my previous post before I take the leap from Cubase to Logic I have 2 more questions.
    1. For those that have used Distributed Audio, is it necessary and useful, or was it a pain in the a**? Does it work well? How many machines did you chain.
    2. How does the licensing on distributed audio work (buying extra copies, etc)?
    Does anyone have any links (Apple or otherwise) to information on Distributed Audio, all the stuff that was there and indexed in Google has since been removed with the launch of Logic Pro 8.
    Cheers
    T.

    It's probably best to check out the documentation:
    http://manuals.info.apple.com/en/LogicPro_8_UserManual.pdf
    To answer your questions:
    1. I never needed it. But if I ever do it's nice to know that it was there. It was very easy to setup. All you need is a Gigabit switch to attach your Macs or if you're using just two, connect them directly. I only ever chained two machines.
    2. Logic comes with a node utility that you run on the other macs so you don't need to buy more than once copy of Logic. However, the new manual above indicates that if you want to run third party AU effects on node machines they will need to be authorized on those systems.
    However, in Logic's AU manager you can independently select whether a 3rd party plugin is available for Node usage.

  • AS 2.0 Loader component question

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

    I have a site that has a gallery with 40 images, takes a long
    time to load so I need to find the best way to correct. The files
    that load manually now are movieclips that play in 10 second frames
    in their own timeline with an alpha effect on each all the jpgs and
    other files are in the main fla which is huge because of this. I
    was going to use the loader component but I see you can only use
    for .jpgs and I can't put the effect on jpgs, other obvious way is
    using loadMovie but then I have to convert all mc's to separate
    swfs. Before I go that route is there another way to do this?
    rderf

  • Loader Component Question

    Can I have two loader components in one flash file (my main web page)  I have a main loader for my pages to load into when the corresponding button is clicked.  I need to add a second one for a small .swf file of a interactive calendar.  So I guess I need another loader .  I tried to add another loader to my main flash page and it said something like this component is in use or has same name.  I looked in my library and changed the name of my other loader to myLoader and it is still giving this wierd error.  Is is possible to use the Loader component twice in one flash document?   I also don't have them in the first frame of my document because I have an animation that plays through first.

    I'm only trying to interpret what that message is telling me in this response.  It seems to be indicating that you have some object in the library that you have named "calLoader" and assigned it a linkage ID of Loader (possibly by default) as well as another object in the library named myLoader that has the same linkage ID (possibly by default).
    If these two objects are the same component type, then you only need one of them in the library.  The different naming of them can be managed on the stage.

  • HT202696 I hve Apple care on 1 device but the person at the apple store just talked about replacing fried ports and did not answer my broken glass or component questions and nothing in detail is actually posted so im afraid its yet another insurance scam

    I want to know what exactly Apple will fix on say my IPhone 6 plus. Like a dropped device with broken hardware or components or port issue, electrical broken glass etc.. I only have AppleCare on 1 device because I cant get straight answers about repair cost or if it will repair broken glass ,components  etc. The person at Apple just said it will fix ports and did not answer the other question about a real broken device or broken glass. 

    Actually that's not entirely accurate Csound1... If you purchased AppleCare+ it not only extends your warranty an extra year but it also now covers up to two accidental damages (water damage included). Now every scenario is different when you're talking phone damages so it's best to set up a reservation with the Genius Bar if something happens and they'll assess the damage. Either way, as long as you're covered with AppleCare you'll receive a deductible price on parts. Certain instances you may not have to pay anything which are usually things like faulty software, faulty buttons, etc.
    Hope this was helpful!

  • List component question

    Hello,
    I have flash cs4, and I am using a list component. I know how to open swf when somebody clicks on the list, but is there any way to tell the component to open a .pdf file on  a new window using the list component?
    thanks for your guidance
    Cheers.

    You just need to link to the pdf like you would link to any web page.  The code you use depends on the version of actionscript you are using...
    AS2:  getURL("http://www.yourdomain.com/your.pdf", "_blank");
    AS3: navigateToURL(new URLRequest("http://www.yourdomain.com/your.pdf"), "_blank");

  • Simple image component question

    I have to fix a flash file someone else made, and I need to use an image component, which I'm not familiar with.
    I just need a simple image that scales up, and then moves across the screen. I've got my image component, and tweened it to scale and then move, and it looks fine when I scrub the timeline, but when I test as a swf it doesn't do anything, it just sits there.
    Am I missing something?

    If its working on while dragging the timeline during in authoring and not working while playing the complied swf can mostly mean that u have attached a top command somehwere in ur code which is stopping the timeline from moving forward on playing the swf.Check for unwanted stop commands.

  • Textinput component questions

    Hi All,
    I have an issue passing number data to textinput component.
    If my data have decimals like 8.45463 and I display the number with 2 decimal places like 8.45.
    If user doesn't modify the number when I save again in the database is only 8.45.
    It is a way to set the textInput component with value = 8.45463 and text = 8.45? I am sure with so many financial applications it should be something up there.
    I have the same issue with advance datagrid displaing numbers.
    Any ideas or comments?
    Thanks
    JFB

    Done,
    Thanks for everyone reply and help.
    If someone wants to use this component or make it better.
    Best,
    JFB
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TextInput xmlns:mx="http://www.adobe.com/2006/mxml" textAlign="right" creationComplete="init()" >
        <mx:Script>
            <![CDATA[
                import mx.formatters.NumberFormatter;
                import mx.controls.listClasses.*;
                private var _realValue:String;
                private const POSITIVE_COLOR:uint = 0x000000; // Black
                private const NEGATIVE_COLOR:uint = 0xFF0000; // Red
                private function init():void
                    //init code
                    super.restrict = '0-9\.\\-';
                private function formatDecimal(val:Number):String
                    var decimalFormatter: NumberFormatter = new NumberFormatter();
                    decimalFormatter.rounding = 'nearest';
                    decimalFormatter.precision = 2;
                    decimalFormatter.useNegativeSign = false;
                    return decimalFormatter.format(val);
                public function set realValue(value:String):void
                    //Set real value
                    _realValue = value;
                    // format the number here
                    super.text = formatDecimal(Number(_realValue));
                public function get realValue():String
                    //Return component text real value
                    return _realValue;
                override protected function focusInHandler(event:FocusEvent):void
                    //Update component text real value
                    super.text = _realValue;
                override protected function focusOutHandler(event:FocusEvent):void
                    //Check if the source is blank
                    if (event.target.text == '')
                        _realValue = '0';
                    else
                        _realValue = event.target.text;
                    //Update component text value
                    super.text =  formatDecimal(Number(_realValue));
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
                    // Set the font color red for negative numbers
                    setStyle('color', (parseFloat(_realValue) < 0) ? NEGATIVE_COLOR : POSITIVE_COLOR);
            ]]>
        </mx:Script>
    </mx:TextInput>

  • Distributed transaction question

    I'm implementing distributed transactions between two oracle servers and am confused as to how this can work reliably. I see that I must call prepare then commit. If prepare fails then I must call rollback instead of commit. However, if I call prepare on each database and get a success from each one and then call commit the commit can throw an exception. ie:
    database 1
    database 2
    call prepare for database 1 - success
    call prepare for database 2 - success
    call commit for database 1 - succes
    call commit for database 2 - failure
    now what? how is this beter than just calling commit not using distributed transactions? I thought that any errors for commit must be given by prepare otherwise what is the purpose of calling prepare?
    Calvin R. Smith

    As part of the 2PC contract, during the prepare phase, the resource manager
    is required to prepare itself in such a way (e.g. acquire necessary locks,
    perform necessary integrity constraint validation, do logging etc) that it
    can successfully commit or rollback the transaction branch according to the
    final commit/rollback call from the transaction manager. If they are unable
    to prepare themselves, they are given a chance to report that early to the
    transaction manager by returning an error on prepare. For the 2PC protocol
    to achieve atomically, it is imperative that all resource managers take this
    contract seriously.
    While it is impossible to provide a completely fool-proof guarantee,
    resource managers should make every effort to honor that. On rare,
    catastrophic occasions where they are unable to fulfill the contract, they
    are allowed to return a Heuristic error upon the subsequent commit/rollback
    call issued by the transaction manager. It should be noted that heuristic
    errors are considered very rare events in distributed transactions, as
    compared to commit failures for local (non-XA) transactions.
    Regards,
    Priscilla
    Calvin R. Smith <[email protected]> wrote in message
    news:3be18096$[email protected]..
    I'm implementing distributed transactions between two oracle servers and am
    confused as to how this can work reliably. I see that I must call prepare
    then commit. If prepare fails then I must call rollback instead of commit.
    However, if I call prepare on each database and get a success from each one
    and then call commit the commit can throw an exception. ie:
    database 1
    database 2
    call prepare for database 1 - success
    call prepare for database 2 - success
    call commit for database 1 - succes
    call commit for database 2 - failure
    now what? how is this beter than just calling commit not using distributed
    transactions? I thought that any errors for commit must be given by prepare
    otherwise what is the purpose of calling prepare?
    Calvin R. Smith

Maybe you are looking for

  • How to open a new window from submit button &dialog page in current window?

    We have a requirement, wherein we have a OAF search page for PO lines with search criteria, Go button to search ,result region (table layout) and a submit button(Create new expedite). 1. Now user can select some lines from result region and click on

  • WiFi issues with iPhone 4S & ios 6 update

    Okay here is my issue... I've been reading alot of issues that people have with connecting to WiFi with their new iPhone 5, iPhone 4S or other devices but I have no trouble connecting to WiFi at all. My problem is that WiFi wont 'work'. The WiFi I'm

  • Slow system since Lion.

    hello,  since upgrading to lion my mac is very very slow.  a 1.2mb file takes over 5mins to dl!  movies from iTunes - forget it. hours and hours. Is there any who can help me to figure out why my system is so slow and how to fix it?  thanks

  • How do you change the language in iPad Pages?

    How do you change the language in iPad Pages? I tried lookin for it but I can't find it.

  • Get Info tab doesn't allow data entry?

    I have a number of songs in my library that I'd like to revise the song title. The Get Info tab takes me do a data entry screen but I can't open it. Any help?