Casting TreeMap.Values() return value

Hi,
I'm working on an application that its main content is an object of type Instument.
Each Instrument has different attributes, one of them is its name. The names of the instruments must by unique.
In order to group all the Instruments, there is a second class names InstrumentSet. The main variable of this class (called allInstruments) is of type TreeMap<String, Instrument>, where the Instruments' names are the keys. One (static) method of this class is called 'getAllElements()' and it returns all the elements by calling the simple values() method which is a member of the TreeMap class. The return type is a the one returned by the 'values()" method - Collection<E>.
I would like to keep a reference to this set of elements, so I tried the following (this is part of the getAllElements() method):
{code}
Collection<Instrument> c = allInstruments.values();
ArrayList<Instrument> li = (ArrayList<Instrument>)c;
{code}
But it fails when run, throwing the following exception:
{code}java.lang.ClassCastException: java.util.TreeMap$Values cannot be cast to java.util.List{code}
Without a cast, if fails during compilation.
Since I still lack some generics knowledge, and all the exampel regarding the values() method deal only with iterating it, but not assigning its return value, I'm quite lost.
Can anyone enlight me with this issue?

Hi Kaj & alan_mehio,
Neither do I see any difference between the two lines.
As for the questions you asked:
1 - The Instruments are shown in a JTable. It seems to me more 'programmer friendly' to use a local reference to the set of elements instead of calling time after time to the values(). This for the first question.
2 - You know, while searching for a solution, I thought about something like
Collection<Instrument> c = allInstruments.values();but it's seems very 'general'. In a way, like declaring all the references in a program as of type Object. I guess I just was wrong, believing I can do something more specific with the values() return value.
Thanks you both for you time and effort and all the best,
Doron

Similar Messages

  • TABLE(CAST()) function not returning the correct results in few scenarios.

    I am using TABLE(CAST()) operation in PL/SQL and it is returning me no data.
    Here is what I have done:
    1.     Created Record type
    CREATE OR REPLACE TYPE target_rec AS OBJECT
    target__id          NUMBER(10),
    target_entity_id NUMBER(10),
    dd           CHAR(3),
    fd           CHAR(3),
    code      NUMBER(10),
    target_pct      NUMBER,
    template_nm VARCHAR2(50),
    p_symbol      VARCHAR2(10),
    pm_init          VARCHAR2(3),
    target_name     VARCHAR2(20),
    targe_type     VARCHAR2(30),
    target_caption     VARCHAR2(30),
    sort_order      NUMBER (4)
    2.     Created Table type
    CREATE OR REPLACE TYPE target_arr AS TABLE OF target_rec
    3.     Created Stored procedure which accepts parameter of type target_arr and runs the Table(Cast()) function on it.
         Following is the simplified form of my procedure.
         PROCEDURE get_target_weights
         p_in_template_target IN target_arr,
         p_out_count          OUT NUMBER,
         IS
         BEGIN
              SELECT count(*) into p_out_count
         FROM TABLE(CAST(p_in_template_target AS                     target_arr)) arr;
         END;
    I am calling get_target_weights from my java code and passing p_in_template_target with 10140 records.
    Scenario 1: If target_pct in the last record is 0, p_out_count returned from the procedure is 0.
    Scenario 2: If target_pct in the last record is any other value(say 0.01), p_out_count returned from the procedure is 10140.
    Please help me understand why the Table(Cast()) is not returning the correct results in Scenario 1. Also adding or deleting any record from the test data returns the correct results (i.e. if keep target_pct in the last record as 0 but add or delete any record).
    Let me know how can I attach the test data I am using to help you debugging as I don’t see any Attach file button on Post Message screen on the forum.

    I am not able to reproduce this problem with a small data set. I can only reproduce with the data having 10140 records.
    I am not sure if this is the memory issue as adding a new record also solves the problem.
    This should not be the error because of wrong way of filling the records in java as for testing purpose I just saved the records which I am sending from java in a table. I updated the stored procedure as well to read the data from the table and then perform TABLE(CAST()) operation. I am still getting 0 as the output for scenario 1 mentioned in my last mail.
    Here is what I have updated:
    1.     Created the table target_table
    CREATE Table target_table
    target_id          NUMBER(10),
    target_entity_id NUMBER(10),
    dd           CHAR(3),
    fd           CHAR(3),
    code      NUMBER(10),
    target_pct      NUMBER,
    template_nm VARCHAR2(50),
    p_symbol      VARCHAR2(10),
    pm_init          VARCHAR2(3),
    target_name     VARCHAR2(20),
    target_type     VARCHAR2(30),
    target_caption     VARCHAR2(30),
    sort_order      NUMBER (4)
    2.     Inserted data into the table : The script has around 10140 rows. Pls let me know how can I send it to you
    3.     Updated procedure to read data from table and stored into variable of type target_arr. Run Table(cast()) operation on target_arr and get the count
    PROCEDURE test_target_weights
    IS
         v_target_rec target_table%ROWTYPE;
         CURSOR wt_cursor IS
         Select * from target_table;
         v_count NUMBER := 1;
         v_target_arr cws_target_arr:= target_arr ();
         v_target_arr_rec target_rec;
         v_rec_count NUMBER;
         BEGIN
         OPEN wt_cursor;
         loop
              fetch wt_cursor into v_target_rec; -- fetch data from table into local           record.
              exit when wt_cursor%notfound;
              --move data into target_arr
              v_target_arr_rec :=                     cws_curr_pair_entity_wt_rec(v_target_rec target_id,v_target_rec. target_entity_id,
                        v_target_rec.dd,v_target_rec.fd,v_target_rec.code,v_target_rec.target_pct,
         v_target_rec.template_nm,v_target_rec.p_symbol,v_target_rec.pm_init,v_target_rec.template_name,
         v_target_rec.template_type,v_target_rec.template_caption,v_target_rec.sort_order);
              v_target_arr.extend();
              v_target_arr(v_count) := v_target_arr_rec;
              v_count := v_count + 1;
         end loop;
         close wt_cursor;
         -- run table cast on target_arr
         SELECT count(*) into v_rec_count
         FROM TABLE(CAST(v_target_arr AS target_arr)) arr;
         DBMS_OUTPUT.enable;
         DBMS_OUTPUT.PUT_LINE('p_out_count ' || v_rec_count);
         DBMS_OUTPUT.PUT_LINE('v_count ' || v_count);
    END;
    Output is
    p_out_count 0
    v_count 10140
    Expected output
    p_out_count 10140
    v_count 10140

  • EJB3 Stateful:ClassCastException when casting the object returned in lookup

    Hi,
    I'm developing a web application that make use of EJB3 stateless and stateful beans. The application server is the Websphere Application Server 6.1.0.15 with the EJB3 Feature Pack installed and the web server is the IBM HTTP Server running in another machine.
    The problem I'm facing is that for every stateful bean after the lookup, it throws a ClassCastExcption when casting the object returned. See part of the log below.
    [7/13/08 3:15:48:869 CDT] 0000001c SystemErr R java.lang.ClassCastException: cannot cast class com.spcs.dsa.ejb.authenticationmanager._AuthenticationManager_Stub to class com.spcs.dsa.ejb.authenticationmanager._AuthenticationManager_Stub
    at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:396)
    at com.spcs.dsa.ejb.client.DsaEjbClient.getAuthenticationRemote(DsaEjbClient.java:37)
    at com.spcs.dsa.action.NewCardAction.execute(NewCardAction.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    Please notice in the log above that the cast was done for the correct class.
    Here is the java code:
    AuthenticationManager auth =
    (AuthenticationManager) javax.rmi.PortableRemoteObject.narrow(
    context.lookup("com.spcs.dsa.ejb.authenticationmanager.AuthenticationManager"),
    AuthenticationManagerStub.class);
    This problem doesn't happen for statless beans. If you simply change the class to be stateless, this problem stop to happen.
    If you run this code in a stand alone program, this problem doesn't happen. It only happen when running in the web server.
    Does anybody know what should be done to solve this problem ??
    Thanks,
    Marcos.

    I'm not familiar with any specifics of IBM's implementation but from an EJB 3 spec perspective there is no need to use PortableRemoteObject.narrow() if you're retrieving an EJB 3.0 Remote Business interface, regardless of the component type( stateful vs. stateless). In addition, the "_Stub" class should never have to be part of your client programming model. That should be hidden within the vendor's implementation, if present at all.
    If AuthenticationManager is the Remote 3.0 Business Interface
    @Remote
    public interface AuthenticationManager {
    your client lookup should be :
    AuthenticationManager am = (AuthenticationManager) context.lookup("...");

  • Casting of values

    i have a problem. i want to return a double value by the division of two integers. the values i am getting is not as expected. for example if the lectureduration =3,and no_of_session =2, i expect to get 1.5 but i am getting 1.0.
    here are some of the codes.
    double calculate()
                        double i;
                        System.out.println(lectureduration+"\t"+no_of_session);
                        i=(float)(lectureduration/no_of_session);
                        return i;
                   public static void main(String args[])
                        prof p= new prof();
                        p.setsession(2);
                        p.setlectureduration(3);
                        double a=p.calculate();
                        System.out.println(a);
                        p.setsession(1);
                        p.setlectureduration(3);
                        a=p.calculate();
                        System.out.println(a);
    can anyone help??
    thank you.

    You need to understand that integer division results in an integer value. You cast to float casts the integer result toa float.

  • Best way to change TreeMap value?

    Hello,
    I am wondering what is the best way to change a value in a TreeMap? I have retrieved a value by .get on the key i.e.
    String aString = (TreeMap) aTreeMap.get(aKey);but would now like to change aString and ?.put? it back into the map?
    How would I do this?
    Thank you,
    Poot.

    but would now like to change aString and ?.put? it
    back into the map?Do I just have to keep a note on the (key,value) - especially key - change the value and then .put(key,value) back in? Though I'll need to remove the initial pairing if I do this since TreeMap won't allow duplicate keys!
    There must be an easier way as this.
    Thank you for your reply,
    Regards,
    Poot.

  • Obtaining keys from java.util.TreeMap values (help)

    I don't know how i can obtain the keys from the values in the java.util.TreeMap. I can iterate through the key-values collection, but i don't know how i can specify a value to obtain a key.

    That's because Maps map keys to values, not the other way around. If you want to see what key(s) (there may be none or many) map to a particular value, you must examine all values in the Map. You could instead have two Maps, one to map keys to values and the other to map values to keys.

  • Why is my 1 type cast to value 0 enum?

    I've attached a VI that (for me, on my XP machine) typecasts my integer with value 1 to an enum with value 0.  I'm certain I've done this type of thing before with (what I believe) is the correct answer of the enum with value 1.
    Am I crazy to expect a different result?
       ...Dan
    Attachments:
    type_cast_crazy.vi ‏13 KB

    You can also change the type of the enum diagram constant to U32.
    Still, I agree with you that it should work as you expect and not as it currently does. A One is a One is a One... after all.
    It should not depend on the representation of the players. Am I missing something?
    LabVIEW Champion . Do more with less code and in less time .

  • SQL cast statement to return 3 decimal places in AR invoice fields

    My statement is:
    SELECT CAST ($[$38.58.NUMBER] AS NUMERIC(19,6)) * CAST ($[$38.U_PriceKG.NUMBER] AS NUMERIC(19,6))       /  CAST ($[$38.11.0] AS NUMERIC(19,6)),3)
    This statement returns 3 decimals which is correct.  The issue is the 3 rd decimal is always 0 instead of the correct result.  Example if result should be 98.784  the query returns 98.780
    What can be changed in the syntax to allow return of the exact result.
    I am working in AR invoice.  Th U_PriceKG field is a UDF defined as price.  General settings display price as 3 decimals. 
    Any suggestions would be greatly appreciated
    Edited by: Charlotte Sicard on Jan 20, 2010 10:50 PM

    Hello,
    Check you decimal settings.
    SELECT CAST ([$38.58.NUMBER] AS NUMERIC(19,6)) * CAST ([U_PriceKG.NUMBER ]AS NUMERIC(19,6)) / CAST ([$38.11.0] AS NUMERIC(19,6)),3)
    The SBO will display the result of your query depending on the UDF type you have set up, and will display the decimal values based on decimal settings  in General Settings \ Display tab.
    Regards,
    J.

  • Client code cast error:EJB returning data in Collection of Objects

    Still trying to understand this EJB stuff.....
    My BMP EJB returns data to the client in a collection of objects;
      // Home interface (CountryHome) nothing unusual here
      public Collection findAllCountries()
      //Remote interface (Country) nothing unusual here
      public CountryModel getDetails()The data object is a serialised object;
      // data object - nothing strange here
      public class CountryModel implements Serializable {
        private int countryId;
        private String countryName;
        public CountryModel () {......etc etc
        public CountryModel getDetails()  {.......etc etc
        public String toString() { ...etcWhen I try and get at the data from the collection in the client code, calling getDetails() in CountryModel causes a cast exception. How can I get at the data?
      Collection a = home.findAllCountries();
      Iterator i = a.iterator();
      while (i.hasNext()) {
        Object obj = i.next();
        Country country = (Country)
             PortableRemoteObject.narrow(obj, Country.class);
        // this fails with class cast exception.....
        System.out.println(country.getDetails());And to add to the confusion, why does calling the remote interface's getPrimaryKey() method in the client code invoke the toString() method in the CountryModel class and work?
      while (i.hasNext()) {
        Object obj = i.next();
        Country country = (Country)
             PortableRemoteObject.narrow(obj, Country.class);
        // have no idea why this works.....but it does.....
        System.out.println(country.getPrimaryKey());Thanks, lebo

    hi,
    you are getting a collection of serializable objects and not remote objects. the narow method has to be applied only for remote objects (actually it is the stub that will be received on the client side).
    so you modify your code as,
    Collection a = home.findAllCountries(); Iterator i = a.iterator(); while (i.hasNext()) {    Object obj = i.next();    Country country = (Country)obj;
    this will definitely solve the problem.
    regards
    srini

  • Newbie Question: How to cast object that returns from objectAtIndex?

    If I have an array of custom objects, I want to do something like
    [myArray objectAtIndex:indexPath.row].myCustomData = ...;
    But the only way I get it to work is if I do
    MyCustomObject *tempObject = [myArray objectAtIndex:indexPath.row];
    tempObject.myCustomData = ...;
    What is the right way to do this?
    Thanks,
    Brian

    Have you tried with parenthesis ? or at least with the brackets ?
    I am not on my mac, I can't test it...
    ([myArray objectAtIndex:indexPath.row]).myCustomData = X;
    By the way, you can wrap your code between {code} to have it nicely displayed on the forum.
    Barth

  • Displaying a column in report which returns null value

    Hi
    I have a simple report with two column. The query is as below.
    SELECT decode(caste,1,'SC/ST',2,'General','3','PWD') fcastepi, nvl(count(*),0) fcapi
    FROM applicationformdtl
    WHERE year = :p_year
    AND selected = 1
    AND PROGCD = 'PRM'
    GROUP BY caste
    This query returns values for SC/ST and General as there is no matching data for the PWD. But I want to display PWD with value 0 in the report. How to do this? Can anyone help me in this matter at the earliest?
    Regards
    Trusha

    hello,
    u r calculating the cast in ur detail table applicationformatdtl.
    and also u have the table of caste in which caste description is given
    so ur query like this
    select nvl(decode(a.caste,1,'sc/st',2,'general'),'pwd')cast,
    nvl(a.caste,40),decode(count(*),1,0,count(*),count(*)) total
    from applicationformdtl a,caste c where c.caste = a.caste(+) group by a.caste
    which gives the output
    caste     total     
    sc/st 3
    general 5
    pwd 0
    bye
    Chandan

  • Iterating over the Values returned from a HashMap

    Hi,
    I have a HashMap which stores some Strings as Keys and their corresponding Values are a Vector of Strings.
    for eg. one (Key, Value) pair is
    (String1, [StringA, StringB, StringC, ........])
    I understand that I can read the Vector Values by iterating over the HashMap using the ".entrySet()" and "Map.Entry" operations.
    My problem is I am not able to iterate through the Vector values returned by the ".getValue( )" method.
    can anyone please give some hints as to where I am commiting an error, or if I need to cast my values in some manner to iterate over them?
    thanks in advance

    can anyone please give some hints as to where I am commiting an errorSomewhere in your code. Post the smallest complete example which demonstrates the problem, then people may be able to give more specific help.

  • Inferring return value assignment types - ever seen this ?

    Consider a class designed to hold arbitrary values defined at runtime. It is backed by a Map<String,Object> and values are stored and retrieved by a String identifier. Basic type checking is also performed.
    Setting the values is straightforward: obj.set(name, value) but I have two candidates for syntax of getters.
    First an example of the obvious approach, where getInteger(&hellip;) performs type checking, casting and explicitly returns an Integer:
    Integer id = obj.getInteger("id") ;This is ok but I discovered a more consice syntax that works without without explicitly naming a type nor sacrificing type safety any further:
    Integer id = obj.get("id") ;In this approach we use a generic method, where the return type is inferred and passed to the method. Here's how I do it:
    // root method that is called by both approaches
    private <K> K _get(String name, Class<K> clz) {
      Object value = map.get(name) ;
      // check for null, assignability, etc.
      if (!clz.isAssignableFrom(value.getClass())) {
          throw new RuntimeException(clz + " is not assignable from " + value.getClass()) ;
      return (K) value ;
    // method 1 - the obvious way
    public Integer getInteger(String name) {
      return _get(name, Integer.class) ;
    // method 2
    public <T> T get(String name, T...ts) {
      if (ts.length > 0) throw new RuntimeException("Illegal usage...") ;
      return (T) _get(name, ts.getClass().getComponentType()) ;
    }This works becaues type T is used for both the var-arg array and the return value. Of course, it probably fails if you provide additional args - you're not supposed to. ts.getClass().getComponentType() returns the type you are assigning the return value to.
    Not many languages can take this into consideration. In a way, it makes the return type part of the signature.
    Advantages:
    - Much smaller API
    - Dynamic extension for use with a new datatype doesn't require adding a new getX() method
    - Members can be treated uniformly, such a through iteration
    Disadvantages:
    - Involve the confusing zero-length var-args in the api that must be ignored
    - Type is inferred to be Object when the return value is not assigned
    At first you might think that the method 1 is more type-safe but in fact it is not. Using method 1 you have to align the method with the assignment type, but you can still exception at runtime. In method2 the datatype is simply inferred.
    I'm interested in your thoughts on this teqnique. Please let me know if you have a way of concealing the var-args oddness. I think this technique could complement various patterns quite well, such as factory.
    Thanks for your input.
    Edited by: crackleOK on Jul 21, 2009 4:46 AM

    crackleOK wrote:
    JoachimSauer wrote:
    The only redeeming quality is that it can be very nice to use such code.API's are to use (and often have ugly guts). Unfortunately true, but not a good reason to write ugly implementation code. If you only care about code quality up to the API, then you only care about the shiny coating of your car as well and don't mind the rust as long as you don't see it.
    As I said: sometimes the tradeoff is worth it, but it should still be weighted.
    Also: the ignorable varargs parameters are not needed in any way whatsoever.Please explain.From what I see you can replace this method:
    public <T> T get(String name, T...ts)
    // with
    public <T> T get(String name)without any loss of functionality.

  • How to cast a fieldinput value to upper case.

    Im not a java programer I guess that this must be a silly thing.
    Im searching data in R/3 from 2 fields 1 numeric and the other alphanumeric. This alphanumeric fields if I put it in upper case works, if I wirte it in lower case doesnt works.
    In R/3 when I test the FM doesnt matter if I put it lower or upper case, it works fine.
    so I wanna know how can I in WD cast the value that I put in that fieldinput be converted to upper case when I hit the search button.
    Thx

    > Im not a java programer I guess that this must be a
    > silly thing.
    >
    > Im searching data in R/3 from 2 fields 1 numeric and
    > the other alphanumeric. This alphanumeric fields if I
    > put it in upper case works, if I wirte it in lower
    > case doesnt works.
    >
    > In R/3 when I test the FM doesnt matter if I put it
    > lower or upper case, it works fine.
    >
    > so I wanna know how can I in WD cast the value that I
    > put in that fieldinput be converted to upper case
    > when I hit the search button.
    >
    > Thx
    Hi,
    When you test the FM in SE37 in R3 there is an option at the top of the screen Called Uppercase/Lowercase - this controls whether the input is automatically converted to upper case for alphanumeric fields.
    The other option you have, if it is a custom FM, is to translate the input of the alphanumeric fields in the ABAP - it is quite common to have to translate or convert input data to make sure it is in the same format as the backend system.
    I prefer to do this sort of conversion on the backend system as usually you have a better guarentee that it will be in the correct format, than if you do it in the Java element.
    Just my opinion,
    Gareth.

  • Error while reading UcdContext [trying to read / set application values for users]

    Hi,
    I am trying to write a program to store user selected values on NW7.3 Portal using "User Content Directory". I can see and read some code snippets on how to set and read the context but I am getting one error after another.
    The error message I am getting is
    "com.sapportals.portal.pcd.gl.PcdGlContext:service:[email protected]entClassLoader@84507ed@alive incompatible with interface com.sapportals.portal.pcd.gl.IPcdContext:sap.com/[email protected]der@f46d103@alive ". Code snippet is as given below at the end of the message.
    1) I tried different ways to have a lookup and always gave message as "look up not found" and for pcd:portal_content came up with above error.
    2) Once I read the UCD context, I would like to store some values based on user selection and store them. User may change the values whenever they like and I will be using the values for other purposes in another application.
    3) Has any one successful in setting and reading UCD Context in NW 7.3. Will it be possible to share such sample code as the code snippets at http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/8e1bce28e24dd8abd9f4de05e5587d/content.htm are not much of use unless I am able to read the UCD.
    Thanks for your help!
    Regards,
    Raju
    TestingUCD is my test application and the following is code snippet
    InitialContext initialContext = null;
    IPcdContext pcdCtx;
    Hashtable env = new Hashtable();
    env.put(UCD_INITIAL_CONTEXT_FACTORY, UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    try{
    initialContext = new InitialContext(env);
    //response.write("Before pcdCtx lookup");
    try {
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    } catch(Exception e){
    response.write("Some problem with lookup" + e.getMessage());

    Hi,
    There are quite few differences in the standard code snippet given by SAP Help on UCD and the once that you put above in the question.
    Below is standard snippet.
    Hashtable<Object, Object> env = new Hashtable<Object, Object>();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    IPcdContext.UCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, user);
    InitialContext ctx = new InitialContext(env);
    pcdCtx =  (IPcdContext) ctx.lookup("");
    ============================
    Check the ones highlighted in BOLD and compare them in your code. In your code when ur doing initial lookup you are not using the Correct class type cast for the returned lookup object!
    Your code shows as below:
    pcdCtx = (com.sapportals.portal.pcd.gl.PcdGlContext) initialContext.lookup("pcd:portal_content");
    But may be it shd have been something like below:
    pcdCtx = (IPcdContext) initialContext.lookup("pcd:portal_content");
    Pls verify and hopefully this resolves your issues around look up.
    Thanks,
    Swapna Priya.

Maybe you are looking for

  • Email Alert on a Successful message in PO/PI 7.4 system

    Hi All, I am looking to send an email alert on successful delivery of my message from PI/PO system. I am running on a single-stack Java stack system. My scenario is from a Flat File to IDOC creation in ECC. As soon as all the IDOCs are created in ECC

  • Purchased song bad quality, cant flag it to support

    dear sir or madam, ive bought a song via itunes music store germany. unfortunately I can't flag it to the support. Everytime I hit the butten 'Report problem', safari opens up but it shows standard webpage 'page cannot be displayed'. How do I reach t

  • My tabs will not delete when I hit the x. why not?

    my tabs are collecting at the top of my page. they will not x out. it will open the page but I can not make the page go away. I don't want to collect a gazillion tabs. why is this happening and how can I make it stop?

  • Migration from an iBook, w/o using Firewire

    Dear friends, a friend just got a brand new Macbook, and I told her I help migrating her old stuff from an old iBook to her shiny new laptop. I proceeded, with confidence and trying to appear savvy, to connect a firewire cable from her iBook to her M

  • Question on AM Client Interface

    Hello gurus, I want to understand , what happens behind the screens , when an AM method is exposed via client interface. The reason being , I want to handle the following scenario : 1) I need to add one of the webservice method to the AM client inter