Interfaces - Help

Hello there!
Well, I'm rather new to Java, and I've only been learning for a couple of weeks now. My book, "Java: A Beginners Guide" by Herbert Schildt has tought me many things, and it's kept me hooked, but there are two things which I've read over and over again, that I don't understand.
What are interfaces and what do they do? Likewise, what are Abstract Methods and what do they do?
http://java.sun.com/docs/books/tutorial/java/concepts/interface.html indicates that if the class implements an interface, all methods defined by that interface must appear in the source code before it will compile. The way I see it, its just like declaring a method twice, and that doesn't seem very practical.
It would be great if someone could clear this up for me. Thankyou!
~Dave
Edited by: Dave_V7600 on Sep 14, 2007 5:04 AM

An interface is an abstraction layer. It is used to describe a standard way of 'interfacing' with an object, without having to know exactly what it is. Say for example that you work in a greenery and you have to count leaved in plants and trees. So you have a tree object and a plant object, both implement the countLeaves() method that return the number of leaves. You would have to know how to count leaves on the Tree object and on the Plant object separately. If you use an interface, ThingWithLeaves, that defines the abstract method countLeaves(), you can make the Tree object and the Plant object both implement that interface. Then you would only need to know how to count leaves on a ThingWithLeaves and it doens't matter if it is a Tree or a Plant.
If you have more questions like this, please use the 'New To Java' forum. You are much more likely to get an answer there.

Similar Messages

  • Performance issue with XI interfaces - Help Needed

    Hi all,
           We are having idoc->xi->file. We have the design of collecting the idocs as the standard example BpmPatternCollectTime.
            We have given the collection time of say 5minutes after the first idoc hits the BPM process. The issue is that the idoc messages are getting missed when we are sending 1000 idocs. Also after applying the note 898131 for the correction of missing idocs we got the problem of the timeout exception not being triggered and workflow instance is waiting for a longtime until all the messages are getting into BPM and is getting struck in the queue.
            We are into XI 3.0 SP13. Can anyone provide some help in optimizing the interfaces/server settings/etc..
    Thanks in advance.
    Jayakrishnan

    Hi Jayakirshnan,
    check if this helps, whether you have optimal number of dialog processes.
    see theselinks as well
    Re: BPM is slow in sending Idocs
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/sap exchange infrastructure tuning guide xi 3.0.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/42/e7bb8f7c9d3ee0e10000000a1553f6/content.htm
    Regards
    Vishnu

  • Will an audio interface help?

    I'm looking to get started with GB using my Yamaha Clavinova. I've managed to get the keyboard connected through its built in USB midi interface, but when playing software instruments there seems to be a limitation on how fast, and how many keys I can play simultaneously. Too many or too fast, and the sound drops out.
    I've started looking at audio interfaces like the M-Audio Fast Track Pro, but I'm not sure if it will help me much with midi. I'm not as interested in recording live instruments or vocals although I may in the future. My main desire is to use the software instruments.

    Hi,
    Blizzard going on hear wow,
    I was reading just today (and thought it was about M-Audio) but the company-info =
    http://www.esi-audio.com/aboutus/technology/ (its about their Driver Technology called=
    EWDM - Enhanced Audio MIDI Driver
    Home Page (and they do have a USA supplier as well as other Countries)
    http://www.esi-audio.com/
    they had 4 MIDI interfaces including
    http://www.esi-audio.com/products/midimate2/
    info-
    MIDIMATE II is a convenient USB 2.0 MIDI interface cable with up to 32 input or 32 output channels for PC and Macintosh systems. With MIDIMATE II you can obtain perfect MIDI timing and performance at an extremly affordable price. The interface cable is compatible with Windows XP, Windows 7 (32/64bit) and Windows Vista (32/64bit) as well as Mac OS X and instantly works after you plug it in - no driver installation is required. There is more, MIDIMATE II even automatically detects the incoming and outgoing MIDI signals, which means that both connectors work as input or output. You can use as 1 simultaneous input and 1 simultaneous output (with 16 channels each), 2 input (32 channels) or 2 output (32 channel) device.
    Features
    USB MIDI interface with 2 MIDI connectors, each can work as independent input or output
    high-speed connection to USB 2.0 or 1.1 equipped PC or Macintosh system
    bus powered, requires no external power supply
    no driver needed for Windows XP, Windows Vista, Windows 7 and Mac OS X
    Here is the Company's Product List link=
    http://www.esi-audio.com/products/
    and Distributors
    http://www.esi-audio.com/aboutus/distributors/
    They even have Home Entertainment Set-up-Configuration Devices
    as well as Audio Interfaces (but if You desire to get MIDI IN direct a Audio Interface wether
    USB-Firewire, would have potentially a lot of ins and outs that You appear not to need (or may down the road) Its Your Gear and Set-up
    Hope this Helps
    (I could not get over (some) resemblance to M-Audio Products (correct me if I am wrong)
    ambienttales

  • Interface help needed (Edirol FA-66) - works with Tiger, not Leopard

    I have an Edirol FA66 that works fine on my Macbook running Tiger, but doesn't show up as a device on my iMac running Leopard. Can anyone help please? Thanks....

    I used Edirol FA-66 interface successfully with my Intel iMac using Tiger & Logic, iTunes etc for a year, and it worked great. I upgraded from 10.4.4 to 10.4.11 when the system wouldn't recognize M-Audio Radium keyboard. After the upgrade keyboard is on board but now FA-66 doesn't work at all, crackles, static, no sound or device recognition. Must be some glitch in 10.4.11..? Downgraded and the keyboard is gone. Upgraded and the interface is gone. Crazy!
    If I buy Leopard, will it resolve both?? I don't want to get Leopard and weigh down my system with all the stuff that goes with it and have the Edirol stuck in the same situation. Is there anyone out there who has experienced this and can recommend a particular version of Leopard?
    Thank you
    Mara

  • Interface Help

    Hi,
    I'm a new java programmer and I have a question on interfaces...
    I have a List<SecurityRole>, where each security role implements GrantedAuthority.
    I have a method that needs to return List<GrantedAuthority>
    How can I return the original list, but in GrantedAuthority form?
    Thanks!

    Ok, here's the applicable code. The UserDetails inteface calls for the method getAuthorities with return type List<GrantedAuthority>. So I can't just return the roles field from User. Can anyone help?
    SecurityRole.java
    public class SecurityRole implements GrantedAuthority {
       private String userId;
       private String role;
    public String getAuthority() {
       return getRole();
    ....User.java
    public class User implements UserDetails {
        private String userName;
        private String password;
        private String userType;
        private String firstName;
        private String lastName;
        List<SecurityRole> roles;
    public List<GrantedAuthority> getAuthorities() {
       return roles;     // doesn't work
    }

  • Interface help please

    Hello,
    Am logic 7.1- PM g5 user.
    Earlier I got some good advice from Rohan (on this group) and have narrowed my choice of an audio interface down to RME fireface or Metro Halo. He also ofilled in another I had about recording from them. So, now just to choose one device in particular. I am using m-audio now -1814 and have no compatibility issues. WOuld like to keep that but want to upgrade the unit primarily for better converters.
    So, please any suggestions based on knowledge or experience will help greatly.
    Best,
    Doug

    MH stuff is really good, if you need alot of gain from a 2882 it will get noisy. I have little problems on recordings with high SPLs (like drum kits)-converters, support and drivers are all great. No complaints. ULN2 is the same conversion with great pres. Can't go wrong with either unit, IMO. I love their portability and sound. Think of them as a RME/Motu traveler. If mobility is no issue then RME would typically be the better choice.

  • Ap invoices interface  help

    How can i assign the batch name to invoices on ap invoice interfacing interfaceing
    please help me out

    from import program request

  • SQLData interface help required please

    Hi,
    i need some help with the following problem.
    I have an object with a lot of data elements (100ish), some of them scalar (varchar2's etc), some are "type table of varchar2" and some are "type table of sql_object". I want to write a java stored procedure (SQLData interface?) that can update the values in this object.
    I can, of course, populate the values from pl/sql no problem BUT as im populating the data values from a large XML source (i.e. multiple xpath operations) it takes time in pl/sql (takes abount 1 sec which is too long for our buisness need here). I am attributing to slowness due to the large amount of context switches from pl/sql to java).
    i have tried making a small sample object to prove the concept of the SqlData in dealing with objects that have nested objects and arrays but i am getting problems in getting it to work with nested objects!.
    my noddy example:
    ------------------- inner.java ---------------
    import java.sql.*;
    import java.io.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.oracore.*;
    import oracle.jdbc2.*;
    import java.math.*;
    public class inner implements SQLData {
    // Implement the attributes and operations for this type.
    private BigDecimal id;
    public String name;
    public static void wages(inner e[]) {
    e[0].name = "55"; // just update the name element to prove the point.
    // Implement SQLData interface.
    private String sql_type;
    public String getSQLTypeName() throws SQLException {
    return sql_type;
    public void readSQL(SQLInput stream, String typeName)
    throws SQLException {
    sql_type = typeName;
    id = stream.readBigDecimal();
    name = stream.readString();
    public void writeSQL(SQLOutput stream) throws SQLException {
    stream.writeBigDecimal(id);
    stream.writeString(name);
    ------------------- outer.java ---------------
    import java.sql.*;
    import java.io.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    import oracle.oracore.*;
    import oracle.jdbc2.*;
    import java.math.*;
    public class outer implements SQLData {
    // Implement the attributes and operations for this type.
    private BigDecimal id;
    private String name;
    public inner inn;
    public static void wages(outer e[]) {
    e[0].name = "54";
    e[0].inn.name = "55";// just update the name element to prove the point.
    // Implement SQLData interface.
    private String sql_type;
    public String getSQLTypeName() throws SQLException {
    return sql_type;
    public void readSQL(SQLInput stream, String typeName)
    throws SQLException {
    sql_type = typeName;
    id = stream.readBigDecimal();
    name = stream.readString();
    inn = (inner)(SQLData)stream.readObject();
    public void writeSQL(SQLOutput stream) throws SQLException {
    stream.writeBigDecimal(id);
    stream.writeString(name);
    stream.writeObject((SQLData)inn);
    SQL> drop type outer
    2 /
    Type dropped.
    SQL> create or replace type inner as object(
    2 id number(20),
    3 name varchar2(2000)
    4 );
    5 /
    Type created.
    SQL> create or replace type outer as object(
    2 id number(20),
    3 name varchar2(2000),
    4 inn inner
    5 );
    6 /
    Type created.
    SQL> drop procedure wages
    2 /
    Procedure dropped.
    SQL> CREATE OR REPLACE procedure wages (e in out inner) AS
    2 LANGUAGE JAVA
    3 NAME 'inner.wages(inner[])';
    4 /
    Procedure created.
    SQL> CREATE OR REPLACE procedure wages2 (e in out outer) AS
    2 LANGUAGE JAVA
    3 NAME 'outer.wages(outer[])';
    4 /
    Procedure created.
    SQL> declare
    2 i inner := inner(1,'ee');
    3
    4 begin
    5 dbms_output.put_line(i.name);
    6 wages(i);
    7 dbms_output.put_line(i.id||';'||i.name); -- should have changed the name element
    8 end;
    9 /
    ee
    1;55
    PL/SQL procedure successfully completed.
    SQL> declare
    2 i inner := inner(1,'ee');
    3 o outer := outer(1,'ee2', i);
    4
    5 begin
    6 dbms_output.put_line(o.id||';'||o.name||';'||o.inn.name);
    7 wages2(o);
    8 dbms_output.put_line(o.id||';'||o.name||';'||o.inn.name);-- should have changed the INNER name element
    9 end;
    10 /
    1;ee2;ee
    declare
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected IN Conversion failed
    Note all wanted to do in the "inner" example is change the value of name...this worked as expected. In the second example i wanted to change the value of my inner objects name value...this fails with IN conversion failed.
    I would be grateful if someone could tell me if this kind of operation is supported in SQLData? (or perhaps another way of doing it?).
    im my REAL object its even more complex as i have stuff like:
    -- nested types...
    type varchar2_tab is table of varchar2(4000);
    type product is object (
    id number(1),
    name varchar2(200)
    type products is table of product;
    -- my main type that i want to perform java ops on
    type my_main_obj is object(
    id number,
    name varchar2(2000),
    array1 varchar2_tab,
    prod products,
    ........lots more elements of the above kinds
    and its on my_main_obj that i want to run a Jproc to populate my variables.
    the kind of pl/sql code thats doing this, at the moment, is:
    -- scalar types.........
    outstCplntInd := xpath_utilities.valueOf(r_dom_node,'outstCplntInd');
    -- scalar array types.....
    xpath_utilities.valueof(r_dom_node, 'names/name',
    p_array_in_out => names);
    -- and object array types.......
    r_dom_node_list := spg_xpath_utilities.selectNodes(r_dom_node,
    'bills/bill');
    for idx in 1..sys.xmldom.getlength(r_dom_node_list)
    loop
    if (prods is null)
    then
    prods := products(null);
    else
    prods.extend;
    end if;
    prods(prods.last) := product(
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1), 'prodTyp'),
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1),
    'prodSerNr'),
    xpath_utilities.valueof(
    xmldom.item(r_dom_node_list,idx-1),
    'prodDate'));
    end loop;
    ....etc
    (the xpath_utilites pacakge is a helper package i got out of Steve Muenchs oracle XML book).
    Thanks for any suggestions!
    Daz.
    Oracle version 8.1.7.4 with the latest java + pl/sql XML XDKs installed.

    Hi AM_Kidd.
    Thanks for your reply.
    I have done a complete uninstall and re install of iTunes and all related apple programs from my laptop through control panel, add remove programs and also by going through program files and deleting all tracers of any left over folders remove programs may have missed.
    My apologies for forgetting to add this in my original post.
    Thanks again

  • Clicks and popping with recording and USB interface-HELP!!!

    I've submitted this twice, got some responses, but has twice been ignored into oblivion. I apologize for the reposts, but this is VERY IMPORTANT, and I've been struggling with this issue for MONTHS now dealing with countless hours of lost time trying to fix it to no avail.
    I'll try to include as much detail as possible.
    I use:
    MacPro 2 x 2.66 Dual-Core Intel Xeon
    3 GB memory
    Logic Express 8.0.2
    245.13 GB empty space on Hard Drive
    THE PROBLEM:
    When I record, I get computerized clips/pops
    http://www.moogiex.com/clickpop.mp3
    http://www.moogiex.com/morecackling.mp3
    I record via a PreSonus Audiobox USB. This problem did NOT start when I got the AudioBox, but several months after.
    When I simply monitor the sound going through the box, the sound is fine.It's something between the Box, and the computer output. My guess is some incompatibility with Logic Express or Core Audio and the AudioBox.
    It is NOT the microphone or the cable (the pops occur with anything going in, 1/4", XLR, different inputs).
    The clicks START with Logic Express. If there are any recording program open when Logic Express is open, and I record, I get the SAME pops.
    It did this both under 10.5.6, 10.5.7, and now 10.5.8.
    It is NOT clipping.
    When I'm recording with LE:
    —There's 1.27 GB of FREE Memory while I'm recording.
    —Logic Express is only using 6.7% of CPU while recording (of only one of the four processors), and about 90-95% of CPU space is free on all four processors.
    —This happens on ANY audio input, and it doesn't matter how many other tracks, how long it is. I just started a brand new file and it does it.
    —This happens when I use ANY input into my computer, but is STARTED by LE.
    Here are my Logic Preferences
    Core Audio- ENABLED
    System Memory Requirement 66.0 MB
    Device: AudioBox USB
    I/O Buffer Size: 1024
    I/O Safety Buffer- UNchecked
    Recording Delay: 0 samples
    Universal Track Mode- CHECKED
    24 Bit Recording- CHECKED
    Software Monitoring- CHECKED
    Independent Monitoring Level- Checked
    Process Buffer Range: Large
    ReWire Behavior: Live Mode (Higher CPU Load)
    Maximum Scrub Speed: Normal
    Scrub Response: Normal
    There is *no* driver with PreSonus' AudioBox. It is simply "compatible." Here's what System Profiler says:
    AudioBox USB (plugged into my Mac Pro's front bottom port):
    Product ID: 0x0301
    Vendor ID: 0x194f
    Version: 1.08
    Speed: Up to 12 Mb/sec
    Manufacturer: PreSonus Audio
    Location ID: 0x00200000
    Current Available (mA): 500
    Current Required (mA): 500
    Here's what I've tried:
    —Disabling CoreAudio, shutting LE 8 off, restarting LE 8, enabling CoreAudio again. This worked ONCE. It hasn't worked since.
    —Disabling CoreAudio, shutting LE 8 off, SHUTTING DOWN, RESTARTING, opening LE 8, enabling CoreAudio again. This also worked ONCE. It hasn't worked since.
    —"CPU Saving Mode"
    —I/O Buffer to 256, 512, and 1024 (default) (IMPORTANT?—speed of popping actually INCREASES with larger buffer?)
    —I/O Safety Buffer checked and unchecked
    —Changing Recording Delay samples
    —Pretty much fiddling with any of the controls
    —Disabling Airport does nothing (was previously working fine with Airport running)
    —Quit all applications, open up QuickTime (pro) or Audacity, and record something. It records perfectly. I go back to LE and the clicks and pops are gone, but only until I use anything with effects, then the clicks and pops return. This works SOMETIMES.
    —Reset the preferences, and that has worked ONCE, and then the clicks and pops came back (albeit not as prominent, but they were still there).
    —I trashed all files related to Logic and reinstalled. Worked ONCE.
    —Restarting does help, but only temporarily, as soon as any pull is put on Logic, the problems return.
    —Using a different USB port. I thought this was the solution because the problem shortly went away with regular use of Logic, but problem came back.
    —Uninstalling Logic, Reinstalling Logic Express, same deal.
    PLEASE, PLEASE, PLEASE HELP. I have a lot of money sunk into all this equipment that's practically useless with this recording issue.

    Man, I feel for you on this.
    I would love to see what your pops and clicks look like in your waveform. If you can take a snapshot of it and post the pic here that might help the diagnosis.
    Your audio files certainly SOUNDS like you have a clocking problem. It really sounds like your CoreAudio driver/MacPro and your USB interface are not locked up in sync - as in: which is master and which is slave? I know some interfaces include a software control panel that allows you to set the status of the interface clock to slave to the computer or to be the master. It sounds like yours doesn't come with drivers but is there any control panel for this Presonus device?
    Another place to check is in Applications>Utilities>Audio Midi Setup
    On the left under "Properties for <your interface>" what does it say for the clock source?
    Also in this panel, to the right it should have a button for "configure device". What happens when you click it? For example in my case it automatically launches my Apogee Duet Maestro control panel. In your case it might launch something similar, although I think you mention that you never installed anything, which I find strange to begin with - that this thing should just work out of the box with no driver at all.
    I've struggle with w similar problem with my Apogee Duet, although nothing of this magnitude, maybe 4 or 5 clicks per 3 minutes of audio and these turn out to always be sample drops where 5-10 samples in a row are all the same in the waveform, as if my interface and computer stopped talking for a milli second. I did find that if my Apogee Duet was chosen as the default or system output in the Audio Midi Control Panel I mentioned above then the clicking was more frequent, as if choosing the audio interface for any system output caused a conflict with choosing it for Logic. I thought this was strange but you might want to investigate that further too.
    At any rate, it does sound like a digital clock syncing issue to me by the sound of your audio. What effect does changing the sample rate of the recording have on the problem?
    Let me know if any of this leads to anything.

  • How to Hear Metronome in Headphones While Recording Through Audio Interface - Help!

    Hey everybody,
    So I've been trying to work through this problem for 3+ hours now and I'm stumped. It's very frustrating as it is such a simple problem. Right now I'm recording acoustic guitar through an audio interface - guitar sound goes to microphone, microphone goes to interface, interface goes to audio jack in Macbook. Pretty simple setup. I can even insert a splitter into the audio jack on the Macbook which will allow me to hear what I am playing through the interface in my headphones, which is what I wanted. However, when I hit record and the metronome starts playing, as I want it to, I can't get the metronome to play through my headphones - they will only play through the speakers. How can I get around this? Is it even possible, or do I need an audio to USB interface so I can have a set audio in (through the USB) and a set audio out (through the audio port)? Again, your help would be much appreciated as I am completely stumped.
    Cheers!

    In Logic Pro 9 (and X) you can assign different devices to the In- and Output, so I don't understand why you wouldn't be able to get sound in through the microphone and out through the headphones. You can even combine the ouputs into a Multi-Output device to send the same sound simultaneously to all outputs.
    You can also aggregate all your in- and outputs into an Aggregate Device, then you can use any of your outputs and any of your inputs inside the same Logic project (on the channel strips).
    Setup in Audio MIDI Setup (separate app, part of any OS X install, can be found in the Applications>Utilities folder)
    Setup in Logic Pro>Preferences>Audio>Devices (apart from colorscheme, it's the same in LP 9 and LP X)

  • Apogee Ensemble or Interface help

    I have been looking to create a home studio. I'll be using a Macbook Pro and an iMac both with Logic Pro8. I have some very nice mics and a compressor but my main issue is a interface. I'd like to go with something that is firewire. I have fallen in love with the Apogee Ensemble but it is a little pricey and to be honest I am not that up on interfaces. All I know is that the pre's sound great. What would be a good alternative that would still have great sounding pre's but less of a price tag. Any help would be greatly appreciated.

    Apogee in general have some of the best converters (the actual AD/DA that is). I can't speak for their Mic Pres because I don't have them, but I do use the Rosetta 800 and used to use the MOTU mentioned above, and to me the sound difference is astounding. The Ensemble uses the same converters as the Rosetta. It is worth the price, and I would not short change myself on the interface. If you like it and like its sound, then I would suggest waiting until you can afford it and get it, as opposed to getting something that you're not as in love with and feeling like you made a mistake.
    Short of going to a Prism converter... Apogee is about as good as you're going to get, especially with the close integration within logic... but it's all a matter of taste and opinion.
    R

  • Designing a stack interface (HELP!)

    Hey guys, Im new to Java and to the forums, and I need desperate help, so I'd appreciate some. I need to design a Stack interface, implementing an ArrayStack class. It should be a ordinary Java array. I also need to write an application demonstrating the use of the stack. The problem is to read a sentence from System.in, using a scanner, and outputting the words of the sentence in reverse order. Here is what Ive been working on for the past few hours.
    public interface Stack <c> {
         public boolean isEmpty();
         public void popAll();
         public void push(Object c) throws Exception;
         public void pop() throws Exception;
         public Object peek() throws Exception;
    public class ArrayStack <c> implements Stack <c> {
         private Object item [];
         private int top;
         public ArrayStack(int MAX) {
              top = -1;
         @Override
         public boolean isEmpty() {
              return (top == -1);
              // TODO Auto-generated method stub
         @Override
         public void popAll() {
              // TODO Auto-generated method stub
         @SuppressWarnings("unchecked")
         @Override
         public Object peek() throws Exception {
              return item[top];
         @SuppressWarnings("unchecked")
         @Override
         public void pop() throws Exception {
              // TODO Auto-generated method stub
              return item[top--];
         public Object push(Object c) throws Exception {
              item[++top] = c;
              return null;
    import java.util.ArrayList;
    import java.util.Scanner;
    public class UseStack {
         public static void main(String args[]){
              Scanner input = new Scanner(System.in);
    // declare and create an ArrayList that will hold String objects
    ArrayList<String> wordList = new ArrayList<String>();
    while (input.hasNext()) {
    String word = input.next();
    wordList.add(word);
    for (int c = wordList.size() - 1; c >= 0; c--) {
    System.out.println(wordList.get(c));
    I know its a mess but please help me out and tell me where Im going wrong. Thanks so much

    Here is the new thing i got
    public interface Stack <c> {
         public void push(char c) throws Exception;
         public char pop() throws Exception;
         public char peek() throws Exception;
         public int size();
         public boolean isEmpty();
    public class ArrayStack <c> implements Stack <c> {
         private char [] arrayStack;
         private int top;
         public ArrayStack(int MAX) {
              arrayStack = new char [MAX];
              top = -1;
         public boolean isEmpty() {
              return (top == -1);
         public char peek() throws Exception {
              return arrayStack[top];
         public char pop() throws Exception {
              return arrayStack[top--];
         public void push(char c) throws Exception {
              arrayStack[++top] = c;
              return;
    public int size() {
              return 0;
    public class UseStack {
         public static void main(String args[]){
         }}

  • BPM Sync Interface - Help

    My current scenario is File to Proxy Sync
    From the sender side, two files are coming, so that i am using BPM in my interface.
    My current BPM Steps
    Inside the fork, i have give 2 receive stps.
    Receive 1 - Receiving First file
    Receive 2 - Receiving second file
    Transformation - Mapping - Merging 2 files
    Send Step - Sending data to Proxy.
    By using the above steps, my scenario is working fine without any response from the proxy.
    Now, my proxy is giving response back, i need to receive the response and send the response to a file.
    Experts pls advise me, how to handle this within BPM?
    Thanks in advance..
    Regards,
    Mani.

    Hi Abhishek,
    I was getting error in coorelation, now it is fine and i have completed the bpm steps as you recommended and did the checking in the IR, no error was displayed. Now I am doing ID configuration.
    I have given the steps in ID that i have created, Pls correct me, if i am wrong.
    Sender Agreement:
    File 1 - File Adapter
    File 2 - File Adapter
    Receiver Agreement
    BPM - ECC - Proxy Interface
    Interface Determination
    File System - File Interface1 to BPM receive step 1
    File System - File Interface2 to BPM receive step 2
    after this point, i got bit confused in creating interface determination. How many interface determination and receiver determination we need to create, since we are using two transformation and two send step in the BPM.
    Pls advise me in this.
    Regards
    Mani...

  • File to File interface - Help Required

    Hello All,
    We have the below business requirement:
    In the source directory, we would receive multiple .dat and one .txt files. Before picking up any of the file, we need to check whether the .txt file exists in the folder or not.
    If the .txt file exists, only then pick the .dat files and move them to target directory, else dont do any action until the .txt files comes into the folder.
    Also, the dat and txt files have to be moved to the target directory in a sequence(i.e. first the dat files have to be moved and then finally txt file has to be moved).
    Please help in providing an approach preferably with the standard sender file channel options.
    Thanks in advance.
    Regards,
    Subbu

    Try this option
    Source Directory: /yourSourceDir
    FileName : File1.xml
    In Additional Files:
    File List: File2.xml
    File2.xml.namePart - "File1.xml" = "File2.xml"
    File2.xml.optional - NO
    File2.xml.type - xml
    by having this settings, File1 will be picked only when File2 is placed in the folder.
    Regards

  • Problem while using Generic interface.Help!

    package cn.com.landstar.violet;
    import java.util.*;
    interface ITextContainer implements Iterable<String>
         void append(String newStr);
         void clear();
         Iterator<String> iterator();
    the error messages point out that
    Line3 and Line9 need "{"and "}",

    interfaces can't implement anything, they can extend other interfaces.

  • Folio Producer Tools changed interface - HELP!!

    Hello,
    I'm new to DPS and it appears that there have been some changes to the Atricles and Folio producer in the latest version.
    Amongst all other problems, I can't find the Article Properties panel.
    Does anyone have any good tutorials for the latest DPS tools? All the ones on youtube seem to be about 3 years old.

    What are you trying to do? We haven't changed the design/layout of the Folio Builder Panel or folio producer.
    Here's our list of help topics on Folio Producer: https://helpx.adobe.com/digital-publishing-suite/topics.html#dynamicpod_reference_6.
    Neil

Maybe you are looking for

  • ITunes and Quicktime will not launch

    I cannot get my iTunes or Quicktime to launch. I have uninstalled, reinstalled, upgraded, and tried several fixes that I found on this discussion board. No Luck! I'm using XP Pro SP3. When I first installed iTunes, it worked, but then quit working ab

  • AcroExch.AVDoc.FindText(), Acrobat XI

    Code from Chapter 16 Scripting Quicktest Professional Page 25,  Dani Vainstein FindText(): Finds the specified text, but doesn't scrolls so that it is visible, and doesn't highlights it Dim AcroApp, AcroAVDoc As Object Dim gPDFPath, bReset, nCount gP

  • Setting Colors to window defaults, UI gets reset

    I created a Custom UI delegate for tabs to display the selected tab a certain color. that color is the frame color, i.e. : fillColor1 = UIManager.getColor("activeCaption"); so if you are using the windows OS and you set your active caption color to D

  • Error when trying to set up email

    When I try to set up my email by going to "Manage Internet Email" an error message reads: "The application has encountered an error and cannot continue." Anyone know how to bypass this error so I can get my email set up? Thanks for your help!!!

  • Application to track usage while on Passport plan

    Hey there I'd be happy to help with tracking your usage! One option to track your usage will be the myAT&T app which will detail your remaining usage available. If you need an immediate update on usage, I would recommend using options available on th