Implementation/Design suggestions

Hi guys,
I have been tasked with writing a process that will be making multiple ftp connections to multiple servers.
1. The FTP process will be connecting to multiple servers
2. All connections will be kept alive at all times (if possible)
3. Each connection will require different logic when upoading files. For example files in Server A will be uploaded into a temporary directory then moved to a different directory. Files uploaded into Server B will have to be in the following format ["IBM343"][Date] etc.
4. Some servers will require upload in Binary format and some will require ASCII only
The options that i am thinking of are as follows.
1. Have one object that forks out mulitple threads. Each thread will be managing a specific FTP connection. The logic to handle the specific FTP server will be in the thread.
2. Have one object that manages several objects that will be managing the FTP connections.
I am curious to get your opinions on how you would approach this. Can you think of other more efficent design approaches that are better than those listed above.
Thanks.
Ps. i have posted this in other forums.

Ok guys, Here is one quick example of what i would ideally like to achieve.
[http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg|http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg]
Everything above the shaded line already exists so i will be developing new components below the shaded line. (i.e. there is already a process that reads from the database and writes to the relevant queue.
The diagram shows that each ftp server will have two processes associated with it. An INftp and OUTftp process. The IN process will be polling the relevant ftp server and writes whatever it reads back into the queue. The OUT process will be checking the queue to see if there are any new items that need to be transffered to a server. Each item in the queue has an IN or OUT flag.
I am wondering whether it is more efficient to use the above approach, or include a new process that reads from both queues and sends the requeust to either the IN or OUT processes which a normal objects.
How would a plugin be used in this situation? If there is a generic class for putting files into an FTP server, does this mean all the PUT processes will need to extend this class? How would i deal with situations where the "putting" requires different logic for each server?
I am thinking that maybe only the logic for "putting" and "getting" should be generic but the preparation should be independent?
And also, what is more efficient to use in terms of performance a java thread or an instantiated object?
Thanks
Edited by: ziggy on May 5, 2009 1:52 PM

Similar Messages

  • BPEL implementation design suggestions

    Hi all,
    Being new to SOA, I'm not really sure whats best practice regarding BPEL and certain problems. I just think that the way I have implemented a BPEL solution is "ugly" and was hoping there was a better solution. So I hope some of you may have some design experience you would share. :-)
    We have a legacy system that gives us some unique document ids that we need to use when creating new documents. The problem is that the new system has to be up 24/7 and the legacy system is down for maintenance every night for about 6 hours.
    As we are using SOA for the document creation, I have created a BPEL process that retrieves 20000 ids from the legacy system. When we need an id we ask the BPEL process for an id. When there is under 100 id's left, I retrieve 20000 more from the legacy system.
    I have implemented this as following:
    1. Load 20000 id's via a webservice.
    2. Save the 20000 id's in a local database via a database adapter (allows me to get id's from a local database when legacy system is down).
    3. Load 1000 id's via a database adapter (into memory).
    4. Assign the 1000 id's into a Global variable of the same message type as the Collection used by the database adapter.
    5. Each time the BPEL process is called, return the first id and mark it as used (couldn't find out how to delete an entry).
    Step 1 and 2 are only called if there are less that 100 id's left in the local db.
    The problem is that since the BPEL process returns each time (synchronized webservice process). Its not really a in memory queue system as it will load 1000 id's from the database each time instead of using the memory. I might as well just load one id from the db each time.
    If this was Java, I would just load 1000 id's into an arraylist and add more to the arraylist from the db when needed. This would avoid to many db calls.
    So how would you implement this i BPEL?
    many thanks,
    William

    Ok guys, Here is one quick example of what i would ideally like to achieve.
    [http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg|http://i279.photobucket.com/albums/kk128/ziggy_76/onelayerprocess.jpg]
    Everything above the shaded line already exists so i will be developing new components below the shaded line. (i.e. there is already a process that reads from the database and writes to the relevant queue.
    The diagram shows that each ftp server will have two processes associated with it. An INftp and OUTftp process. The IN process will be polling the relevant ftp server and writes whatever it reads back into the queue. The OUT process will be checking the queue to see if there are any new items that need to be transffered to a server. Each item in the queue has an IN or OUT flag.
    I am wondering whether it is more efficient to use the above approach, or include a new process that reads from both queues and sends the requeust to either the IN or OUT processes which a normal objects.
    How would a plugin be used in this situation? If there is a generic class for putting files into an FTP server, does this mean all the PUT processes will need to extend this class? How would i deal with situations where the "putting" requires different logic for each server?
    I am thinking that maybe only the logic for "putting" and "getting" should be generic but the preparation should be independent?
    And also, what is more efficient to use in terms of performance a java thread or an instantiated object?
    Thanks
    Edited by: ziggy on May 5, 2009 1:52 PM

  • How to implement Auto Suggest Widget

    Hi there
    I have a dynamic asp classic page, where the data come from an access db.
    On this page, many documents (category and title ) are displayed for download.
    I want to implement Auto Suggest Widget in order to find the document easier and to jump to it (href="#document_xy") directly for download.
    I don't have a clue on how to implement the Auto Suggest Widget.
    The ASP sample works with XML File.
    http://labs.adobe.com/technologies/spry/samples/autosuggest/SuggestSample.html
    All replies, hints, tutorials are highly appreciated.
    kind regards
    joey00x
    I am using Win XP, Dreamweaver CS3

    Hi,
    thanks for trying to help.
    I am sorry to ask again. I am not at all familiar with xml.
    I have tried to modify the ASP script you've suggested, but I get strange XML error, which doesn't make sense to me.
    I understand that with the script the server creates an XML File on the fly. First I have to connect to my access database, then I fill the records into a recordset object. And then the server loops through the RS and creates the xml file. Is that correct?
    The error message I get, points to a complete different place in the code, to a javascript module, which is working perfectly without below code.
    Any suggestions where the bug is?
    Thanks for your time
    kind regards
    joey00x
    Here the code that I am using:
    <%
    Dim objRS
    Dim SQLxml
    SQLxml = "Select category, subcategory, title from DocumentView"
    Set objRS=Server.CreateObject("ADODB.Recordset")
    objRS.Open SQLxml , objConn, 0, 1
    ' Send the headers
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %>
    <?xml version="1.0" encoding="utf-8"?>
    <root>
      <% While (NOT objRS.EOF) %>
        <row>
             <%
                For each field in objRS.Fields
                column = field.name
             %>
            <<%=column%>><![CDATA[<%=(objRS.Fields.Item(column).Value)%>]]></<%=column%>>
            <%
                Next
            %>
        </row>
        <%
          objRS.MoveNext()
        Wend
        %>
    </root>
    <%
    objRS.Close()
    Set objRS = Nothing
    %>

  • Oracle Procurement/Sourcing :- Need advise on an implementation design

    Dear Guru's,
    Need advise on an implementation design
    Problem Summary :-
    Our client(say "X") is contracted to perform certain business functions for their client (Say"Y")
    Say "X" is do sourcing (RFP,RFQ) functions till PO creation,receiving in a excel based custom application ( Not through oracle EBS) for client "Y".
    So "X" is not responsible for paying for those services and "Y" pays for those receipts.
    We want to implement Oracle EBS Advance procurement solution for their above functions and replace the custom application processes.
    But client "X" is not accepting advance procurement solution as they("X") are not paying for the services and they don't want to fit this solution in Oracle EBS as this may cause legal issues.
    Questions:-
    1. Whats the best design solution for this type of scenario to fit the custom process into Oracle EBS procurement ?
    2. Can we follow the sourcing implementation process(RFQ/RFP)-> PO Creation-> PO receipts-> AP Invoice matching in Oracle EBS and is there a way to nullify this transaction in Oracle so      that there will not be any legal issues? May be creating credit memo/AR invoice etc...
    Appreciate your help!
    Thanks
    Karthik

    Hi All,
    Once basic question on the centralized procurement model. Please advise.
    Scenario :-  Two OU(OU1- Requesting OU and OU2- Purchasing OU) Scenaio:-
    1
    Purchase Requisition in OU1
    2
    AutoCreate PO in OU2
    3
    Approve PO in OU2
    4
    Receive the material in INV1 of OU1
    5
    Supplier sends the invoice to OU2
    6
    Cost the transactions
    7
    Run ‘Create Intercompany AR invoices in OU2
    8
    Run ‘Auto Invoice Master Program in OU2
    9
    Run ‘Create Intercompany AP invoices in OU1
    10
    Run ‘Expense Report Import in OU1
    Question:-
    1. After step 5(Supplier sends the invoice to OU2) who will do the payment for supplier and what's the process?
    2. I could see the intercompany invoice process in further steps which creates invoices, but not sure on how supplier payments are paid.
       In which step the paymens(Supplier, Intercompany) are processed.
    Please advise!
    Thanks
    Karthik

  • Design Suggestion(s)

    Hi all,
    I was wondering if anyone has any design suggestions for the following.
    I am making a simulation that permors 10000 turns (so it make 10000 calls to a function).
    I have made a gui that contains a start and pause button in hopes that I can click on start to excute the 10000 calls, and click on pause to pause the program and keep the same iteration that it's on (ie if i start the program, run 100 turns, and then pause it, when I unpause it, I want it to continue where it left off).
    My question is:
    in order to do this should I make a thread once i click on the start button??
    or should i avoid threads all together?
    Any other ideas/suggestion would be much appreciated.
    Thanks.
    P.S. I don't need people to submit code (although i wouldn't object to it). You can just merely suggest ideas.

    from what I understand about threads is this:
    once you make a thread, it's like you are running a spereate program from the original one, that peroms a task, but then when it dies, all of its values are erased (ie the thread does not update the original programs values). Afterwards the original program has no means of getting these values unless the thread wrote them to a text file, etc..
    am i incorrect? is there an easy way of doing it?

  • I want to develop forex web site need design suggestion

    i am a professional content writer currently writing for webdesignerhu - web design blog. i want to create a forex web site i am looking for design suggestions for that .
    i have search alot on google , saw alot of templates but cannot figure it out.
    i need some inspirations about forex websites, forex templates.
    I am looking  for +tive responce....

    Hi Cathie,
    What Brad explained above is that when you want to use the hosting and mail services provided by an external party e.g. Godaddy (not Business Catalysts) you need to create an A Record, using your hosting provider tools, that points to the data center where your site is located. Please find below the IPs for each data center:
    54.252.148.183 or 54.252.148.191 for sites on the Australia data center
    54.236.190.114 or 54.236.189.64 for sites on the United States data center
    54.246.209.120 or 54.246.209.119 for sites on the European Union data center
    So firstly you need to log in to the admin of your site and add the domain to use external hosting services - http://screencast.com/t/iV00iojmFfP
    Then you need to create an A Record at your hosting provider that points to the IP shown in our DNS tool (as shown in the screenshot from above).
    Please note that you need to create A Records for both @ and WWW records. For further assistance on this matter I suggest contacting your hosting provider as each one has their own workflow in terms of creating this records.
    I hope this helps!
    Andrei

  • AC Plug (a.k.a. Duck Head) Design Suggestion

    This is a design suggestion for apple's laptop power adapter. The current (2005) adapter design has a removable ac plug, a "duck head". The plug is removed when one wants to use a different country's plug type, or when the power cord extension is used. I often use the power cord extension, so I often remove the duck head. Recently, I lost the plug and cursed the duck head who designed it.
    My suggestion is to put a female powercord plug next to the duck head on the side of the adapter. This way, I'd be able to simply unplug the cord when I travel and never touch the duck head.

    The other end (the side which plugs into the computer) needs improvement in my opinion. It could have been more user friendly if it had a 90 degree "L" shape so it wouldn't stick out straight. When used in lap (like it is intended for) if you spread your legs a bit, the weight of the computer is supported by the power plug. It may fail earlier than it's intended assuming the female part of the plug is directly mounted on the circuit board. My two cents...

  • Timing issues in implemented design

    Hello everyone,
    I have been reading in these forums for a long time now, but have never posted. Possibly because I have never had such a design-specific issue that was above my knowledge...I wish my problem was more "friendly" for a first post.
    Anywho, my problem is as follows: I've been working on a design for a few months now and everything was working fine up until recently (apart from logic errors of course that I would run into and fix here and there). I recently integrated a module that I did not design myself. My behavioral simulations work fine and all of my previous functionality seems to be working as well when the design is implemented. However, the functionality based on the "foreign" module has introduced problems.
    What I am using: Spartan 6-XC6SLX16 and therefore ISE
    Here are some of the functional symptoms I have recorded so far:
    - The functionality always produces the same output after the design is implemented and uploaded
    - The functionality can differ if I change something (no matter how small or where) in the design itself
    - The same applies for changing constraints
    - After some implementations+uploading the functionality works correctly, and in other cases it fails by either producing erroneous results or just "getting" stuck (i.e. one of my FSMs)
    - The critical path w.r.t. my system clock is in the module that seems to be the source of the problems
    This leads me to believe that there is some timing-related issue. The only timing related constraint I have used is for my system clock period. The timing report does not show any errors regarding this constraint.
    My guess so far would be that I have an unconstrained path problem, possibly in combination with insufficient account for system and input jitter, as the design does take up around 40-50% of FPGA. The problem is that I have no experience in tracking such an issue down, so I could definitely use some pointers in the right direction.
    Things I have tried:
    - Basic logic debugging of the input-output behavior of the problematic functionality using chipscope
    - Post-PAR simulation of the module that includes "foreign" components: Works fine with a 100MHz constraint
    - Increasing the frequency constraint for the entire design from 100 to 120 MHz but that was just out of lack for better ideas, it did not help.
    - Looking at the unconstrained paths that the timing analysis can provide. I was hoping to find something related to the component that seems to be causing the problems, but no luck. Mainly just entries related to all of the ring oscillators that I am using, which it seems to be interpreting as a clock domain crossing case. These, however, have nothing to do with the problematic portion of the design.
    I have a few questions at this point:
    -Can one problem lead to a totally uncontrollable landslide of other seemingly independent problems?
    -Also, how do I make sure that I get ALL of the unconstrained paths and not just a subset?
    -Could it even be an unconstrained path issue if nothing in the report indicates that there is an unconstrained path in the problematic region?
    I hope I have described my problem thoroughly enough for you to make some educated assumptions about what could be going wrong. I'm interested in learning what typically causes such problems. I am aware of synchronizing between clock domains, or the de-assertions of asynchronous resets, the standard problems...but I missed something critical here and I don't want it to happen again. Perhaps somebody has a pointer for me where I could do a little more digging?
    I will set up a timing simulation of the entire design, but as this is a rather lengthy process it will be some time until I get some results.
    Cheers,
    Shibby

    Hello,
    Thank you for the quick replies so far.
    austin wrote:
    So, my questions to you are:
    Did you review the entire (verbose) timing report?
    What is your smallest positive slack number?
    What is your system jitter? Your clofck source jitter?
    How well is the device bypassed on the board you are using (is it one of ours, or one from our distributors)?
    - Yes, I went over the entire verbose timing report that DIDN't cover unconstrained paths. However, when I did have the timing analyzer output unconstrained paths as well, there were a lot of timing errors. I assume this is due to the fact that unconstrained = period requirement of 0 and the slack is therefore always negative? I had a look at these and none of them really indicate a problem to me.
    - The smallest positive slack in the case of the standard verbose timing report was 0.304ns.
    - The system jitter is (the default?...I did not specify it in my UCF) 0.070ns. The other jitter values (TIJ and DJ) are both set to zero. So the resulting clock uncertainty is very small...possibly too small.
    - The board is a Nexys 3 from Digilent. I assume they know their stuff when it comes to capacitive bypassing of ICs. How would this play a role? If I've understood correctly then this is correlated to the system jitter. Bypassing problems would lead to larger/more frequent voltage dips (especially for larger designs) and therefore a clock that exhibits more/larger uncertainty (i.e. jitter)?
    I think my lack of knowledge in correctly constraining larger designs might be causing the problems here. But perhaps also not, so just to be sure, I want to ask the following (possibly stupid) questions:
    - Instead of increasing parameters related to jitter of a certain clock, wouldn't increasing the period constraint of that clock have the same effect? As I wrote, increasing for example the system clock constraint to 120MHz rather than 100MHz showed no improvement of the problem...I'm not sure what this tells me...if anything at all.
    - I do have another clock domain and I do synchronize signals (there is nothing big going on, mainly just handshaking) between the two domains. What could the effect be if I removed the period constraint for one of the clocks apart from possible timing problems in that clock domain?
    - The ring oscillators that I have clock certain FFs if oscillators enabled, however I do not know their exact frequencies. Would it suffice to just use a known upper bound?
    The latter two questions concern parts of the design that habe been there for a long time and have no functional connection to what was added that seems to be causing the problem, though.
    austin wrote:
    ISE ignores clock domain crossing (Vivado does not, but Vivado only supports 7 series and later devices). Do you have any unidentifed clock crossings that require synchronizers?
     Yes, I do. As mentioned above I synchronize my handshake signals between clock domains using simple level synhronizers (since I'm not doing anything fancy like transforming pulses). I am also synchronizing the de-assert of my asynchronous system reset in both clock domains using standard reset bridges, which are basically just level synchronizers.
    Interestingly, the timing report containing unconstrained path info tells me that one constraint was not met whereas the other one does not. It also concludes that the maximum frequency is lower than 100MHz, but gives the same result for the system clock. If I've understood correctly, this is due to the fact that there is an unconstrained path with maximum combinational path delay larger than 10ns. I had a look at this path (there are a few of the same type) and it is a path that I don't think needs to be constrained, so I wouldn't see this as the issue. 
    Albeit having looked at the timing reports, I wouldn't exclude that I've missed something, simply because I haven't dealt with such problems until now. So, I'm not sure whether or not it would be helpful to attach both the standard verbose timing report and the one including unconstrained paths...but perhaps someone could point me to something that might seem fishy..?
    One thing I will do is continue to try and isolate the location of the problem using timing simulations or possibly stripping the logic of certain components and checking the behavior of the implemented design.
    Best regards,
    Shibby

  • Implement auto suggest behaviour with af:selectOneChoise

    Hi
    I'm using jdeveloper 11.1.2.3.0
    I would like to know how could I Implement auto suggest behaviour with af:selectOneChoise?

    Hi,
    Drop a af:autoSuggestBehavior from component pallet to the SOC component and bind it to a backing bean method as below
    private List<SelectItem> items = new ArrayList<SelectItem>();
    public List getSuggestions(String input) {
    if (input!=null && input.length()>3) {
    ViewObject vo = util.getViewObject("XYZ1Iterator");
    vo.setNamedWhereClauseParam("bindx]Xyz", input);
    vo.executeQuery();
    System.out.println("Row count is " + vo.getRowCount());
    // autoSuggestItemBeanList.clear();
    RowSetIterator itr = vo.createRowSetIterator(null);
    while (itr.hasNext()) {
    Row row = itr.next();
    items.add(new SelectItem(row.getAttribute("FirstName")));
    return items;
    If you don't want your db to be queried for each and every character, then create a bean and set each and every attribute value of that bean from the db after your page gets rendered. So each character hit from the keyboard will look into your bean rather than hitting the db.
    Thanks,
    Sanjeeb

  • My initial design of the JCP implementation,YOUR suggestions required

    I have no experiences before on Javacard/Smartcard/COS...
    Here is a simple/naive design after reading JCP specs and smartcard handbook, etc.
    Please give me some guides/suggestions/references
    Thanks.
    The ideas below lacks of supporting materials.
    The relation between COS and JCRE:
    1. JCRE has lots function of the COS like Security Manger, Transmission Manager, Command APDU handle,
    Application Manager(implemented as Applet), File Manager(implemented as Applet)
    2. The main() of a COS is a loop receiving/sending APDU.
    3. The IO loop could be implemented as Java code.
    GUESS:so the JCP(VM, API, JCRE, Applets) plus native functions(IO, crypto) is the COS.
    The function/class below form the COS of a smartcard
    //1.cos
    int main()
         JCVM_run(JCRE);
    //2. cos components == javacrd native functions
    usb_opertions();
    hash256();
    //3. JCRE
    class JCRE
         APDUDispatcher apduDispatcher;
         IOManager ioManager;
         SecManager secManager;
         Applet[] currSelectedApplets;
         start()
              presetApplets.install();
              ioManager.registerListener(apduDispatcher);
              ioManager.loop();
         switchApplet(newApplet)
              if(!firewallCheck())
                   return;
              oldApplet.deselect();
              newApplet.select();
    //3.1. APDUDispatcher, like the "card manager" in OpenCard
    class APDUDispatcher
         //1 raw byte stream -> APDU
         //2 default process
         //3 delegate to applets
         process()
              switch()
              case SELECT_FILE:
                   JCRE.switchApplet(findApplet());
                   break;
              default:
                   logicalChannelNo;
                   JCRE.currSelectedApplets.process(apdu);
    //3.2. IOManager
    //java wrapper for lowlevel io operations
    class IOManager
         loop()
              while(1)
                   if(read())
                        apduDispatcher.process();
    //3.3. SecManager
    class SecManager
         firewallCheck()
         capAuth()
    Please give me some guides/suggestions/references
    Thanks.

    The idea is right.
    I've found an similar implementation here.
    why2.38 lib/why/javacard_api/javacard/framework/Dispatcher.java
    (note: this is javacard.framework.Dispatcher not javacard.framework.service.Dispatcher, the first one is part of JCRE, instead of part of API)
    http://docs.camlcity.org/docs/godipkg/3.11/apps-why/lib/why/javacard_api/javacard/framework/Dispatcher.java
    Wish helpful.

  • Design suggestion for application-wide configuration properties

    Hello all
    I am seeking opinions on how to design an application in which multiple classes have access to a common set of configuration properties that may change at runtime.
    Until now, I would create an abstract class dedicated to initializing the properties set and enabling access to them from anywhere in the application through appropriate get/set static methods (most probably using an internal java.util.Properties object). Lately, my confidence in that approach seems to diminish.
    So, I thought I should ask... do you see any issues with the above approach? Would you suggest any alternatives?
    What I am essentially looking for here is a best practice to stick with from now on.
    Thanks in advance
    G

    909773 wrote:
    For example a 24x7 service that is supposed to handle requests on port X is very unlikely to need to change to port Y while running.
    Or what happens if you have a plugin architecture and someone changes the root plugin directory to another directory.On the other hand, the maximum draw distance in a virtual world, an application's "skin", or a filesharing client's bandwidth limit are, in my view, properties that may very well need to change at runtime.
    Seems reasonable to me. That is the easy part. The hard part is
    1. How/when do you reload
    2. How do you code your app so it gets the new values and uses themAs for 1, apologies if I haven't explained correctly: I am talking about properties that may change programmatically at runtime, e.g., by a user through a configuration dialog. Ok.
    I can think of at least one way to deal with 2 (classes interested in all or a few of the properties implement some property listener interface and accordingly re-get values when notified about changes).That is how you detect it. It has nothing to do with whether the current running process is in a state that allows changes to be made.
    all over the code reflects a wise design decision vs using a singleton property manager, references to a single property manager object (maybe even a java.util.Properties object) passed around through constructors, approaches involving dependency injection (not relying on any framework though), or else.Depends on the application. For example with a distributed system propogating the changes correctly so systems are not out of sync can be problematic.
    Depends on the context in which your user makes changes. If it is an admin then it has the same context has if you were using a file. In that case I would use a singleton.
    If it is a user changing part of the system, then you can't use a singleton. In that case you would need a context object from which other code derives the configuration values it uses. That is a one layer hierarchy and of course more levels require more complexity via a context object for each level.

  • File-to-Idoc complete design suggestion

    Hi all,
    Could anyone suggests and validate the following approach.
    design:
    Sender file adapter communication channel will be used to pick up the file from the ftp. File adapter polls into ftp directory and pickup the right file and archived the file into archive directory. Adapter module checks the consistency of file and allows processing the file in XI. Java mapping program is used to segregate records into correct records and erroneous records. By using BPM, success message will be configured to send SAP as an Idoc message by receiver Idoc adapter communication channel. Error message, as an attachment will be notified to the specified system administrator by mail adapter configuration.
    1) Adapter module checks the consistency of file and allows processing the file in XI.
    This module will be used to reject the file if Header not present. Sets the error flag to the payload. This error flag is read in the condition in the receiver determination step and the message is sent to a receiver that will handle error messages. Mail adapter then sends this message via e-mail to the administrator. The mail content consists of the erroneous payload, erroneous file name and the error records. The processing is stopped here.
    Q) How can I handle the output of adapter module in Java mapping? Shall I design the source message like the output of adapter module or some thing?
    Q) How can I handle this process in BPM?
    2) Java mapping program is used to segregate records into correct records and erroneous records. Is the Java mapping program output will be input to that graphical mapping or something?
    Q) How can I handle the success and error records of java output.
    Q) How can I handle this process in BPM?
    Q) How can I configure the receivers based on the conditions set by Java services.
    Thanks in advance,
    venu.

    Hi Krishnan,
    You need to pass the control record.
    Std code checks whether the first record is a control record and then on tries to fetch the other details.
    I suggest one debug of IDOC_INBOUND_FROM_FILE or the main program RSEINB00 would help a lot.
    Rgds,
    HR

  • Need to implement auto suggest with multiple select in a input text field

    Hi,
    Jdev Ver: 11.1.1.4
    My requirement is to create an input field where i can provide auto suggest and user can enter multiple email ids. It is similar to current "To" field while composing a mail in Gmail.
    Problem:
    I have implemented input box with auto suggest. For the first entry it works fine. when i enter 2nd value(i have used ',' (comma) as separator and handled it in 'suggestItems' bean method to take sub-string after comma for providing the suggestion) , after selection.... the first value get lost. So at a time only one value is selected in the input text.
    Input text:
    <af:inputText label="Names" id="it21" rows="2"
    columns="50" simple="true"
    valueChangeListener="#{VisitBackingBean.visitMembersInputBoxCL}"
    binding="#{VisitBackingBean.visitMembersInputBox}">
    <af:autoSuggestBehavior suggestItems="#{VisitBackingBean.onSuggest}"/>
    </af:inputText>
    Bean Method:
    public List onSuggest(FacesContext facesContext,
    AutoSuggestUIHints autoSuggestUIHints) {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    String inputNamevalue = autoSuggestUIHints.getSubmittedValue().trim();
    if(inputNamevalue.contains(",")) {
    inputNamevalue = inputNamevalue.substring(inputNamevalue.lastIndexOf(",")+1).trim();
    //create suggestion list
    List<SelectItem> items = new ArrayList<SelectItem>();
    // if (autoSuggestUIHints.getSubmittedValue().length() > 3) {
    OperationBinding setVariable =
    (OperationBinding)bindings.get("setnameSearch");
    setVariable.getParamsMap().put("value",
    inputNamevalue);
    setVariable.execute();
    //the data in the suggest list is queried by a tree binding.
    JUCtrlHierBinding hierBinding =
    (JUCtrlHierBinding)bindings.get("AutoSuggestName_TUserROView1");
    //re-query the list based on the new bind variable values
    hierBinding.executeQuery();
    //The rangeSet, the list of queries entries, is of type //JUCtrlValueBndingRef.
    List<JUCtrlValueBindingRef> displayDataList =
    hierBinding.getRangeSet();
    for (JUCtrlValueBindingRef displayData : displayDataList) {
    Row rw = displayData.getRow();
    //populate the SelectItem list
    items.add(new SelectItem(rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">",
    rw.getAttribute("UsrUserName").toString().trim() +
    "<" +
    rw.getAttribute("UsrMailId").toString().trim() +
    ">"));
    return items;
    Please suggest how can i achieve the mentioned functionality.

    Hi,
    doesn't work this way as the suggest list returns a single value. You can actually use the existing values as a prefix to the new value in which case the suggest list would look a bit odd. Beside of this all you can do is to create a user lookup field with auto suggest and once a name is selected, update another field with the value returned from this action
    Frank

  • Design Suggestion for Custom ADF Application

    Hi
    I have a custom database table.
    I have a custom database view which has query from multiple tables including the above table.
    The custom table in the view is joined with other tables by columns like inventory_item_id, organization_id etc.
    I have to show user a screen where the results of this view are shown in a table.
    The user should be able to enter some data in the screen for these rows.
    (he will be able to enter the data only for fields from my custom table)
    When he press save button, we should enter the new data given by user into the custom table
    along with some other values from view rows .. like inventory_item_id, organization_id etc ..
    Can you suggest a best approach to achieve this ?
    I have to use BC4J for Model and ADF For UI.
    As far as my knowledge goes, I think we will not be able to do this with an updateable view since we might hit the error
    ORA-01779: cannot modify a column which maps to a non key-preserved table
    Is there a design pattern we can follow in BC4J so that this can be achieved?
    Thanks for any help.
    Sameer

    Any view can be made updatable if you write INSTEAD OF triggers for it. That might be a good solution for you. You can also base a View Object on more than one Entity Object, and as long as there are good associations between the EOs it ought to work fine.

  • Design Suggestions for Multiple DaqMX Task Streaming App?

    I'm working on a LabVIEW application in which I'm streaming high-speed data to disk from multiple PXI devices simultaneously.  Each device has its own DaqMX task, and all tasks stream to the same file.  The PXI device configuration (which devices are in the chassis, which slots they're in, and which channels to read from each device) is determined at runtime.
    Does anyone have a suggestion for a design model for this?  To make matters worse, I'd like to be able to specify a channel to monitor its data during the streaming.  I'm thinking the Producer-Consumer model is the basic approach, and I'm at the point where I have an array of DaqMX tasks, one for each device.  I could probably extend that array to be an array of clusters containing:
       1) DAQ Command (e.g. Initialize, Start, Stop, Acquire, etc)
       1) Task ID
       2) Control reference to 2-D array (where each DaqMX read can be stored)
       3) Array of channel names (to allow selection of channel to be monitored
    This could be passed as notifier data, to a data collection subVI, but the part I'm struggling with is finding the best way to run X number of tasks in parallel, where X is not known until runtime.
    Any suggestions would be appreciated.

    Thanks for the input.  With regards to the file format, the decision has been made by my superiors not to use TDMS - unfortunate, but NI hasn't provided the information to write a MatLab file reader, which is a requirement.  So, I've created a custom file format tailored to the needs of my application, but generic enough to be used for other apps. With it, I've been able to stream 8 channels at 800KHz (4 channels each from 2 PXI-6120s) without breaking a sweat.  However, the performance varies greatly depending on which slots the cards are in (but that's a whole different discussion - see the PXI forum for that one).  Once NI solves that one, I'll feel a lot more comfortable.
    I have already made reentrant subVIs that can perform a specific DAQ task.  The problem with a for loop is that the VI sits and wait for a start trigger, then acquires the streaming data.  I can't start the next VI because I'm in the first one.  I thought about creating a data collection VI, and this VI would start up to 6 other VIs in parallel, based on how many and which cards were present.  It's a bit messy, because each slot can contain one of two devices, so I'd need to check which type it was before calling it.  I'm thinking I'll have to create the task list and the references to the data in the main GUI loop, and then pass this using a notifier or queue to the data collection loop. 

Maybe you are looking for

  • Connection string for 9i from vb6.0

    i am accessing a package and stored procedure inside the package from vb 6.0 application. the record fetch is too slow and takes about 4 mins for just 11 records. if i execute the package directly it takes 3 seconds for the records to be fetched. i a

  • Sorting Alpha and numerics in the same column

    Post Author: Jimbob CA Forum: General I need to sort a column first by alpha then numerics.  If I use the ascending sort, the records appear in the following order: 01, 02, AA, BB, ZZ If I use the descending sort option, I get the following: ZZ, BB,

  • Run a program without command line

    Hello, I was wondering if there was a way to run a java program without compiling the code and giving the 'java' command at the command prompt. For example, I want to put my program on a cd with all the necessary components for it to run on any windo

  • .mac sync problem:  account information issues

    I have 3 machines, all running 10.4.11. 2 of them synced (before the .me migration), one, an ibook G4 has never synced In Ical preferences, the synchronize calendar box is grayed and there is the following message: Your .mac account information is no

  • In my iPod touch 4g,How to install ios 7 theme?

    In my iPod touch 4g,How to install ios 7 theme?If it is installed by cydia so how to install cydia?Thankyou!