Bowstreet - Dynamic Runtime Assembly on J2EE?

Has anyone heard of this company called Bowstreet? They claim to be a "mass customizing run-time dynamic assembly engine for services such as web services, EJBs, etc." that runs within a J2EE Container. I have read in a couple of books that due to the inefficiencies of JSP (maintenance cost, non-loosely coupled services) that dynamically assembled applications will be the way to go. Especially when web services are commonplace. Any input would be helpful.
Thanks,
Rob

yep, i have worked with it... what it does is to break down a webpage into components which can be shared by other pages, local pages or even remote pages on other servers.... the one I worked with was the pretty buggy. Bowsteet also uses lots of XML, epecially in passing and containing data. The coolest about Bowstreet is the remote component, which lets say you wanna a stock quote component, instead of writing and licensing one yourself, you can have the Bowstreet Application Components service to remotely give you the component... all you gotta do is put the remote service URL and some other security parameters. Yeah, it is an easy concept, but it works quite well, bascially the local server doesn't need to have the actualy component.
bottom line is the Bowstreet had the most original ideas, their implementaion is good as well, however, due to the nature, or better said the immaturirty of XML and Web, the Bowstreet application was very buggy and confusing. I think the version we did was 3.

Similar Messages

  • Dynamic runtime typecasting

    Hey, i've been trying all night to figure out a way to implement dynamic typecasting in Java.
    So say if we have a class Dog which extends Class Animal:
    Animal a = new Animal("dingo");
    Dog d = new Dog("BillyG");
    System.out.println((Animal)d);
    Note the casting is specified at compile time, instead i'd like to do it
    during runtime.
    Animal a = new Animal("dingo");
    Dog a = new Dog("BillyG");
    System.out.println((a.getClass())d);
    I realize the above code is illegal, but i'd like to do something
    essentially similar even if it involves some hacks.
    Regards,
    d33p.

    It is not possible to cast at runtime to any class.
    But you can cast at runtime to different classes you
    specify at design time by using istypeof.
    "instanceof", you mean?
    if ( anObject istypeof Animal.class ){
    that should be ... instanceof Animal) {
    animal = (Animal) anObject;
    else if ( anObject istypeof Dog.class ){
    dog = (Dog) anObject;
    }That will cast everything to Animal by the way, since every Dog is an Animal.
    By the way if you find yourself needing that kind of thing, look up the visitor pattern.

  • How to set runtime references in J2EE library DC's

    Hi,
    I'm building an custom logon module. This is well described in
    http://help.sap.com/saphelp_nw04/helpdata/en/46/3ce9402f3f8031e10000000a1550b0/content.htm
    I created the following DC:
    1. simple java project DC that contains the login module class
    2. J2EE library DC that will act as the deployable component.
    The part "Make reference to the Security Provider service of the J2EE Engine." (2b) is where i get stumped:
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/93d84072378031e10000000a1550b0/content.htm
    The example adds the reference direct to the provider.xml. I don't have that option when I develop the library as a DC.
    It seems that while EAR file DC's allow the adding of runtime library references via the application-j2ee.xml file, it seems that is not possible for J2EE library DCs.
    Specifically, I'm trying to get the follwing entry into the provider.xml:
    <references>
      <reference provider-name="sap.com" strength="weak" type="interface">security_api</reference>
    I saw one workaround in the SDN where they suggest to extract the provider.xml from the SDA and manually
    add the references but this isn't really an option in our case.
    Should I be deploying 'normal' EAR files in this case ? Have I overlooked something ?
    thanks
    Michael

    Hi,
    talk about overlooking the obvious . . . The appropriate public part is present in com.sap_SAP-JEE_1.
    Adding that worked.
    Michael

  • Dynamic runtime shared libraries in Flash

    Runtime shared libraries in Flash only seem to work if there
    is a direct import link into the file that wishes to use the shared
    library item. Why can't the main swf dynamically load a shared.swf
    containing the shared library items into itself and therefore allow
    all child swf's that are loaded after that event to access the
    items? Or why can't you load the shared.swf containing the shared
    library items into the requesting file on the fly and grant access
    to the items from the requesting file that way? Creating direct
    import links to shared libraries in all child flash documents is
    very annoying in larger applications!
    Ideally it should work like this...
    All cross domain security issues have been dealt with.
    I have a main container.swf.
    The main container loads a remote shared library swf that
    contains the shared library items.
    After the load, the main container loads swf files that will
    need to access shared library items.
    One of the loaded child swf's contains a TextField with a style
    sheet attached. We need to have access to a shared font from the
    shared.swf library to enable us to set embedFonts to true and to
    have the TextField render correctly. Unless the import link to the
    shared library was created manually within the child swf containing
    the TextField, the TextField will not render the text with the
    embedFonts set to true.
    This also seems to be the case when dynamically attaching
    shared move clips with linkage id's to the stage. Unless a direct
    import link to the shared library was created within the requesting
    file or should I say the file that is running the script, the
    script fails. It seems that libraries are kept isolated from one
    another, probably to stop linkage id confliction etc. the same way
    as the _global scope isn't shared between swf's originating from
    different domains.
    Using something like, libraryName.linkageID could combat
    this, but I need to know if I'm wasting my time...
    I hope this makes sense. There wasn't a solution last time I
    checked, but it's been awhile and I was hoping someone out there
    has come up with a solution at this stage or even knows the
    official word on the subject.
    Is this possible Adobe?
    Cheers,
    Derek.

    I found the answer. So long as I keep the folder structure in
    my shared library exactly as I have it in my referencing projects,
    I don't need to change anything in the mxml code itself. After
    synchronizing the folder structure, I no longer receive the "1046:
    Type was not found or was not a compile-time constant" error that I
    was getting yesterday.
    France

  • Runtime Tab missing -J2ee Visual Admin

    Hi
    We want to maintain the PIRWBUSER in the PMIstore (j2ee visual admin )
    under
    Cluster ® Server ® Services ® Destinations.
    but we are not able to see the "runtime " tab as mentioned in the following help doc.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/60084136b5f423e10000000a155106/content.htm
    kindly advice
    regards
    krishna

    Thanks Barry
    The second times we fired it open, we were able to see the tab
    thanks
    regards
    krishna

  • Dynamic [Runtime] type casting in Java

    Hello,
    This is my requirement.
    I have a method that takes class name as a parameter.
    Ex:
    Object myMethod(String classname){
    Object xyz = getObject(); //userdefine method which returns some object
    /*<b>I need to typecast above object with the class name passed as the method parameter</b>*/
    /*<b>How can i type cast this object</b>*/
    Object obj = (classname) xyz;
    return obj;
    In the above example, how can i dynamically typecast the object with class whose name is passed as the method parameter?

    Hello,
    This is my requirement.
    I have a method that takes class name as a parameter.
    Ex:
    Object myMethod(String classname){
    Object xyz = getObject(); //userdefine method which
    returns some object
    /*<b>I need to typecast above object with the class
    name passed as the method parameter</b>*/
    /*<b>How can i type cast this object</b>*/
    Object obj = (classname) xyz;
    return obj;
    In the above example, how can i dynamically typecast
    the object with class whose name is passed as the
    method parameter?Perhaps a little more background on the project (what you are trying to do) will help the experts here answer?
    /*with a class that takes a noarg constructor*/
    public Object getObject(String classname) throws Exception
      //might want to get a bit more specific with which exceptions it will throw
      return Class.forName(classname).newInstance();
    }Do I think this sometimes is indicative (perhaps even more often than not), of a possible design flaw? Yes..
    It gets a little trickier if you have constructors (you have to create a Class object representing the string with the .forName(..) ..and then use some reflection to determine constructors and then a bit of logic to determine which of those to use...)
    ~Dave

  • Dynamic runtime reporting

    Hello,
    We are planning to develop an asp.net web application where we require a facility that the users may select a number of required fields at runtime and then can view a report in crystal reports for that fields only.
    In terms of explanation, there should be only one report with no connections and no fields within it. At runtime a connection would be established and a dataset would be sent to CR on which it should simply set the report with all the fields in the detail section and render the report with the data avaliable in the dataset.
    Is this facility available with CR. if yes then which version has this facility.
    Any help would be appreciated.
    Ali
    Edited by: Ali Imran Kitabi on Nov 14, 2008 8:03 PM

    Hi Ali,
    For the functionality you are looking for is to create report at runtime for that we need a RAS SDKu2019s.
    We can create runtime with crystal report 10 and above.
    Have a look at this training document:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32]
    Link for our SDK library:
    [https://boc.sdn.sap.com/node/10619]
    Hope this helps!!
    Regards,
    Shweta

  • Howto create a ValidateSet with dynamic (runtime) values?

    Hi Scripting Guys!
    I want to use the auto complete feature in my function for a specific parameter using a "dynamic" validate set (Similar to the Get-Service function and the Name parameter). 
    For example, instead of this:
    function Test-Function
    Param
    [ValidateSet("Folder1", "Folder2", "Folder3")]
    $Param1
    I want to get the validate set populated by a function like all Folders from the C drive :
    function Test-Function
    Param
    [ValidateSet(ls c:\ -Directory | select -ExpandProperty Name)]
    $Param1
    Any suggestions?
    Thanks,
    Martin

    Funny you should ask. Martin Schvartzman has recently posted an example of exactly
    how to use dynamic validate set.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable)

  • Drawing a Dynamic Graph Using Java/J2EE Technology

    Dear Friends,
    I have a immediate requirement.
    I have to draw a dynamic graph based on changing statistical data(Stock market appliaction).
    Have a look at finance.yahoo.com.There we can a find a dynamic graph.The x and y axis in the graph will change according to the data it recieves without using refresh option and all ... In a periodic interval of time ,say for every 10 minutes the application have to check whether it has any changes in the statistical data it recieves (the data maybe from database or form anyother application). If it finds any changes ,automatically it should reflect those changes in the graph.
    Please help me out friends . I have been struggling with this over a period of time but am not able to resolve.
    Please provide me with any sample application and code.
    Keeping my fingers crossed.
    Thanks in Advance.

    I don't have example code, but I am sure JFree.org has lots. It's a free chart API for Java, that also works with Servlets etc.

  • Dynamic creation of variables and alv grid output/internal table

    Dear Experts
    I am stuck in an inventory ageing report which is to be done year wise. the scenario is as follow.
    selection screen i enter the year 2011 or 2010 or 2009.
    the output should show me 2011-2007 or 2010-2007 or 2009-2007. the alv grid should always start from 2007 and end at the year that is entered in the selection screen.
    Now how can i create a dynamic variables to store the values of the corresponding yr and also how can i create a dynamic internal table to store these values.
    Thanks & Regards
    Zamir Parkar

    Hi Zamir,
    if you are new to ABAP you may leave old and buggy techniques behind.
    If you want to create the table dynamically, please do not use l_alv_table_create=>create_dynamic_table because it is limited and always triggers a possibly unwanted database commit.
    You better use RTTS dynamic runtime type services, i.e. check the example for [Creating Flat and Complex Internal Tables Dynamically using RTTI|http://wiki.sdn.sap.com/wiki/display/Snippets/CreatingFlatandComplexInternalTablesDynamicallyusingRTTI].
    As done here, leave all outdated ALV technologies behind and start with CL_SALV_TABLE. It is following the object-oriented approach and does not need a field catalog.
    You will get used to field-symbols that can be compared to the data referenced by a pointer. For dynamic fields, you may build the field names dynamically, i.e.
    DATA:
          lo_structdescr         TYPE REF TO cl_abap_structdescr,
          lo_typedescr           TYPE REF TO cl_abap_typedescr,
          lo_tabledescr          TYPE REF TO cl_abap_tabledescr,
          lr_data                TYPE REF TO data,
          lt_comp_all            TYPE cl_abap_structdescr=>component_table,
          lv_index               TYPE numc2.
        FIELD-SYMBOLS:
          <any>                  TYPE ANY,
          <component>            TYPE LINE OF abap_component_tab,
           <table>                TYPE table.
        DO nnn TIMES.
          lv_index = sy-index.
          lo_typedescr   =  cl_abap_typedescr=>describe_by_name( <name of data element> ).
          APPEND INITIAL LINE TO lt_comp_all ASSIGNING <component>.
          <component>-type ?= lo_typedescr.
          CONCATENATE 'YEARVAL' lc_underscore lv_index INTO <component>-name.
          <component>-as_include  = abap_true.
          CONCATENATE lc_underscore lv_index INTO <component>-suffix.
        ENDDO.
    * create description object for structured type
        lo_structdescr = cl_abap_structdescr=>create( lt_comp_all ).
    *  create table description object for this
        lo_tabledescr = cl_abap_tabledescr=>create(
                        p_line_type  = lo_structdescr
                        p_table_kind = cl_abap_tabledescr=>tablekind_std
                        p_unique     = abap_false ).
    * create data object
        CREATE DATA lr_data TYPE HANDLE lo_tabledescr.
    ASSIGN lr_data->* to <table>.
    This is a fragment. Please adapt to your needs.
    Regards,
    Clemens

  • Dynamic File name in FTP Communication Channel

    Hi All,
    We have requirement where ,we create a filenames dynamically ( runtime).These filenames whihc do change for every execution needs to be added in FTP communication channel.
    1. How can we add the this generated file name in FTP CC Communication Channel.
    2. Does this file needs to part of target structure during graphical mapping ?
    3. Can we also dynamically append the Directory name to file names aswell ?
    Please provide your valuable sugestions.
    Thanks for your support.

    1. How can we add the this generated file name in FTP CC Communication Channel.
    3. Can we also dynamically append the Directory name to file names aswell ?
    to get the FileName:
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    To get the Directory:
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    Then append:
    key+key1
    And then in the CC select the Directory checkbox under the ASMA properties...
    2. Does this file needs to part of target structure during graphical mapping ?
    The file which is sent using the CC will have the FileName as configured in the UDF of the graphical mapping....and if i am not wrong then the target structure resembles the file (if there is no FCC done)....
    Regards,
    Abhishek.

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • Where to put files in using runtime.exec(run.exe)?

    I try to use the following program in EJB to call my EXE program in the J2EE server:
    runtime.exec("c:\\j2ee\\public\\exe\\run.exe temp.txt");
    In the execution of mill_turn.exe, it will open several files for read and write.
    So where to put the file temp.txt and other files the run.exe need to read?
    Looks like the J2EE server can not find them?
    Thanks!

    I got it in Java SE1.4.
    File dir=new File("c:\\j2ee\\public_html\\Mill_turn\\exe\\");
    Process proc = rt.exec(cmd,null,dir);Use above codes, I really got the right output from my external program for the first time. But , after that, the output keeps same when I change the filename in the following code:
    cmd="c:\\..\\run.exe temp.prt"
    to
    cmd="c:\\..\\run.exe Abc1.prt" , which must have different output.
    The codes for calling external program are implemented in the SessionBean of J2EE.

  • Access Variable from a dynamic name

    Hello,
    I have a the following example variable in a script defined
    as such:
    mcDrg05OriginalX = mcDrg05._x;
    I wish to access this variable data within a button script,
    but dynamically by assembling the actual variable name:
    newName = holdName[landingCount];
    relocateIDx = (newName + "OriginalX");
    newName accesses the original name from an array, and
    relocateIDx assembles the full variable name to be
    mcDrg05OriginalX. Now I wish to access the original numerical value
    from that variable name, but how?
    I tried:
    _root[newName]._x = (relocateIDx);
    _root[newName]._x = [relocateIDx];
    maybe the answer is out there.
    Thanks in advance.

    Never Mind. I should of searched before.
    If I use:
    relocateIDx = eval(newName + "OriginalX");
    this now gives the original number
    Thanks

  • Web Dynpro ABAP Table in runtime

    Hi,
    I have an ui table that has 3 table columns but in runtime i want to add 3 table columns more for it i use add_grouped_column( lr_column ). but when i do a test i see that the 3 table columns that i want to add in the last of table is in the begining.  How can i do that the table column that i add is created in the last of table?
    Thnx.

    Hi Paulina,
    I dont think you can add the colums to a table UI element dynamically @ runtime. Instead, you can add all the columns to your TABLE UI @ one shot and hide the unwanted elements using a WDUI_VISIBILITY Context element. Set this context element based on your requirement to display the columns dynamically.
    FYI...For WDUI_VISIBILTY variable 1 - Hide and 2 - Display.
    Hope this helps.
    Regards
    Raja Sekhar

Maybe you are looking for