Pass an object from a static method

Hi,
I'm trying to pass a reference to an object from a static method, but I get an error when compiling.
Say for example I have this:
public class obj1 {
public void myMethod (int i, Object ob, etc...) {
...and I want to call this method from a method that looks like this:
public class obj2 {
public static int anotherMethod(...) {
obj1.myMethod(1,this,...);
...Can I pass a reference from obj2 to obj1 any other way?
Thanks alot.

how can I get a reference to obj2 then?Pay no attention to zdude's answer - it's nonsense.
You're confused about basic Java concepts. obj2 is a class, not an object. References point to objects, not classes. There is no obj2 object in the code you show, so you cannot have a reference to an obj2 object.
Maybe if you post some more code, we can get an idea of what you're trying to do. You might want to try the New to Java forum.

Similar Messages

  • Calling a method from a static method

    hello all,
    I'm calling a non-static method from a static method (from the main method). To overcome this i can make the method i am calling static but is there another way to get this to work without making the method that is being called static?
    all replies welcome, thanks

    When you call a non-static method, you are saying you are calling a method on an object. The object is an instance of the class in which the method is defined. It is a non-static method, because the instance holds data in it's instance variables that is needed to perform the method. Therefore to call this kind of method, you need to get (or create an instance of the class. Assuming the two methods are in the same class, you could do
    public class Foo
         public static void main(String[] args)
                Foo f = new Foo();
                f.callNonStaticMethod();
    }for instance.

  • Pass a object from one jar to another jar file

    I have a common jar file which will communicate to the server for data validation purpose.But after validation it has to invoke different different jar file based on its response from the server.So, I might have a object which has to pass from the common jar file to a specific jar file.So, I like to know what will be the best procedure to achieve it.
    Please help me out.

    arpitak wrote:
    Yes,jar file holds class files.one of class files wants to trigger a method of a class file which resides in different jar file.this is the situation I tried to describe.Let consider there are three jar files like JAR A,JAR B ,JAR C.Here JAR A is a common jar where other two jar could be used as a plug in. So based on the condition any one of them (JARS) will be triggered by the common jar(JAR A).this is the situation.The class file of JAR A will trigger some method or main method of the JAR B/JAR C.So,here how could I pass a object from one jar to another is my main question.
    Is it clear now?
    I need a solution for this very urgently.Are you looking for a plug-in framework? That is, dynamically discovering and loading plugins. I am not experienced in developing or using plugins. However Googling "java plugin" brings up JPF.
    If you just have multiple jars that have different classes, the JVM will load the appropriate classes if it can find the jars through the standard classloader on the classpath or through a customer classloader.

  • Calling non-static command from within static method

    Hello,
    I have a static method that reads bytes from serial port, and I want to set a jTextField from within this method. but I get error that says it is not possible to call non static method from a static one. How can it be solved?

    ashkan.ekhtiari wrote:
    No, MTTjTextField is the name of jTextFiled class instance.You haven't declared any such variable in the class you posted, not to mention that such a variable name violates standard code conventions.
    This is and instance of that object actually. You haven't declared any such variable in the class you posted.
    the problem is something else. No, it isn't, based on the information you have provided. If you want accurate guidance, don't post misleading information about your problem.
    It can not be set from within static method.A question commonly asked on Java forums concerns an error message similar to the following:
    non-static variable cannot be referenced from a static context
    In Java, static means "something pertaining to an object class". Often, the term class is substituted for static, as in "class method" or "class variable." Non-static, on the other hand, means "something pertaining to an actual instance of an object. Similarly, the term instance is often substituted for non-static, as in "instance method" or "instance variable."
    The error comes about because static members (methods, variables, classes, etc.) don't require an instance of the object to be accessed; they belong to the class. But a non-static member belongs to an instance -- an individual object. There's no way in a static context to know which instance's variable to use or method to call. Indeed, there may not be any instances at all! Thus, the compiler happily tells you that you can't access an instance member (non-static) from a class context (static).
    Once you understand this concept, you can fix your own problem.
    ~

  • How to pass an object from jsp to other jsp using SendRedirect

    How to pass an object from one jsp to the other jsp using ssendRedirect with out using the session
    I am having 2 jsps
    x.jsp and y.jsp
    From x.jsp using sendRedirect iam going to y.jsp
    From x.jsp i have pass an object to the y.jsp
    Is it possible without putting the object in session
    Is it possible using EncodeUrl
    Please help me Its Urgent

    Is it possible without putting the object in sessionAnything is possible. Would you accept that it is very difficult?
    When you send a redirect, it tells the browser to send a new request for the target page. That means any request parameters/attributes are lost.
    Is it possible using EncodeUrl response.encodeURL() puts the session id into a url if the browser does not support cookies. It is purely for retaining the session.
    There are two ways that you can communicate across a sendRedirect.
    1 - use the session
    2 - pass a parameter in the url.
    parameters are string based, so passing objects is almost out of the question.
    Potentially you could serialize your object, encode it in base64 (so it is composed completely as characters) and pass it as a parameter to the other page, where you retrieve it, unencode it, and then load the serialized object.
    Or you can just use the session.

  • Trying to pass and object variable to a method

    I have yet another question. I'm trying to display my output in succession using a next button. The button works and I get what I want using test results, however what I really want to do is pass it a variable instead of using a set number.
    I want to be able to pass the object variables myProduct, myOfficeSupplies, and maxNumber to method actionPerformed so they can be in-turn passed to the displayResults method which is called in the actionPerformed method. Since there is no direct call to actionPerformed because it is called within one of the built in methods, I can't tell it to receive and pass those variables. Is there a way to do it without having to pass them through the built-in methods?
    import javax.swing.JToolBar;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import java.net.URL;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Panel extends JPanel implements ActionListener
         protected JTextArea myTextArea;
         protected String newline = "\n";
         static final private String FIRST = "first";
         static final private String PREVIOUS = "previous";
         static final private String NEXT = "next";
         public Panel( Product myProduct, OfficeSupplies myOfficeSupplies, int maxNumber )
                 super(new BorderLayout());
              int counter = 0;
                 //Create the toolbar.
                 JToolBar myToolBar = new JToolBar( "Still draggable" );
                 addButtons( myToolBar );
                 //Create the text area used for output.
                 myTextArea = new JTextArea( 450, 190 );
                 myTextArea.setEditable( false );
                 JScrollPane scrollPane = new JScrollPane( myTextArea );
                 //Lay out the main panel.
                 setPreferredSize(new Dimension( 450, 190 ));
                 add( myToolBar, BorderLayout.PAGE_START );
                 add( scrollPane, BorderLayout.CENTER );
              myTextArea.setText( packageData( myProduct, myOfficeSupplies, counter ) );
              setCounter( counter );
         } // End Constructor
         protected void addButtons( JToolBar myToolBar )
                 JButton myButton = null;
                 //first button
                 myButton = makeNavigationButton( FIRST, "Display first record", "First" );
                 myToolBar.add(myButton);
                 //second button
                 myButton = makeNavigationButton( PREVIOUS, "Display previous record", "Previous" );
                 myToolBar.add(myButton);
                 //third button
                 myButton = makeNavigationButton( NEXT, "Display next record", "Next" );
                 myToolBar.add(myButton);
         } //End method addButtons
         protected JButton makeNavigationButton( String actionCommand, String toolTipText, String altText )
                 //Create and initialize the button.
                 JButton myButton = new JButton();
                     myButton.setActionCommand( actionCommand );
                 myButton.setToolTipText( toolTipText );
                 myButton.addActionListener( this );
                   myButton.setText( altText );
                 return myButton;
         } // End makeNavigationButton method
             public void actionPerformed( ActionEvent e )
                 String cmd = e.getActionCommand();
                 // Handle each button.
              if (FIRST.equals(cmd))
              { // first button clicked
                          int counter = 0;
                   setCounter( counter );
                 else if (PREVIOUS.equals(cmd))
              { // second button clicked
                   counter = getCounter();
                      if ( counter == 0 )
                        counter = 5;  // 5 would be replaced with variable maxNumber
                        setCounter( counter );
                   else
                        counter = getCounter() - 1;
                        setCounter( counter );
              else if (NEXT.equals(cmd))
              { // third button clicked
                   counter = getCounter();
                   if ( counter == 5 )  // 5 would be replaced with variable maxNumber
                        counter = 0;
                        setCounter( counter );
                      else
                        counter = getCounter() + 1;
                        setCounter( counter );
                 displayResult( counter );
         } // End method actionPerformed
         private int counter;
         public void setCounter( int number ) // Declare setCounter method
              counter = number; // stores the counter
         } // End setCounter method
         public int getCounter()  // Declares getCounter method
              return counter;
         } // End method getCounter
         protected void displayResult( int counter )
              //Test statement
    //                 myTextArea.setText( String.format( "%d", counter ) );
              // How can I carry the myProduct and myOfficeSupplies variables into this method?
              myTextArea.setText( packageData( product, officeSupplies, counter ) );
                 myTextArea.setCaretPosition(myTextArea.getDocument().getLength());
             } // End method displayResult
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event dispatch thread.
         public void createAndShowGUI( Product myProduct, OfficeSupplies myOfficeSupplies, int maxNumber )
                 //Create and set up the window.
                 JFrame frame = new JFrame("Products");
                 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 //Add content to the window.
                 frame.add(new Panel( myProduct, myOfficeSupplies, maxNumber ));
                 //Display the window.
                 frame.pack();
                 frame.setVisible( true );
             } // End method createAndShowGUI
         public void displayData( Product myProduct, OfficeSupplies myOfficeSupplies, int maxNumber )
              JTextArea myTextArea = new JTextArea(); // textarea to display output
              JFrame JFrame = new JFrame( "Products" );
              // For loop to display data array in a single Window
              for ( int counter = 0; counter < maxNumber; counter++ )  // Loop for displaying each product
                   myTextArea.append( packageData( myProduct, myOfficeSupplies, counter ) + "\n\n" );
                   JFrame.add( myTextArea ); // add textarea to JFrame
              } // End For Loop
              JScrollPane scrollPane = new JScrollPane( myTextArea ); //Creates the JScrollPane
              JFrame.setPreferredSize(new Dimension(350, 170)); // Sets the pane size
              JFrame.add(scrollPane, BorderLayout.CENTER); // adds scrollpane to JFrame
              JFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); // Sets program to exit on close
              JFrame.setSize( 350, 170 ); // set frame size
              JFrame.setVisible( true ); // display frame
         } // End method displayData
         public String packageData( Product myProduct, OfficeSupplies myOfficeSupplies, int counter ) // Method for formatting output
              return String.format( "%s: %d\n%s: %s\n%s: %s\n%s: %s\n%s: $%.2f\n%s: $%.2f\n%s: $%.2f\n%s: $%.2f",
              "Product Number", myOfficeSupplies.getProductNumber( counter ),
              "Product Name", myOfficeSupplies.getProductName( counter ),
              "Product Brand",myProduct.getProductBrand( counter ),
              "Number of Units in stock", myOfficeSupplies.getNumberUnits( counter ),
              "Price per Unit", myOfficeSupplies.getUnitPrice( counter ),
              "Total Value of Item in Stock is", myOfficeSupplies.getProductValue( counter ),
              "Restock charge for this product is", myProduct.restockingFee( myOfficeSupplies.getProductValue( counter ) ),
              "Total Value of Inventory plus restocking fee", myOfficeSupplies.getProductValue( counter )+
                   myProduct.restockingFee( myOfficeSupplies.getProductValue( counter ) ) );
         } // end method packageData
    } //End Class Panel

    multarnc wrote:
    My instructor has not been very forthcoming with assistance to her students leaving us to figure it out on our own.Aren't they all the same! Makes one wonder why they are called instructors. <sarcasm/>
    Of course it's highly likely that enough information was imparted for any sincere, reasonably intelligent student to actually figure it out, and learn the subject in the process.
    And if everything were spoonfed, how would one grade the performance of the students? Have them recite from memory
    public class HelloWorld left-brace
    indent public static void main left-parenthesis String left-bracket right-bracket args right-parenthesis left-brace
    And everywhere that Mary went
    The lamb was sure to go
    db

  • Passing complex object from bpel process to web service

    I have deployed my web service on apache axis.The wsdl file looks like as follows,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://bpel.jmetro.actiontech.com" xmlns:intf="http://bpel.jmetro.actiontech.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ADLevelBpelWS">
    - <sequence>
    <element name="adLevelStr" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:int" />
    </sequence>
    </complexType>
    - <complexType name="TransResultWS">
    - <sequence>
    <element name="description" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:long" />
    <element name="responseType" type="xsd:int" />
    <element name="status" type="xsd:boolean" />
    </sequence>
    </complexType>
    - <complexType name="NamespaceDataImplBpelWS">
    - <sequence>
    <element name="ADLevel" nillable="true" type="impl:ADLevelBpelWS" />
    <element name="appdataDef" nillable="true" type="apachesoap:Map" />
    <element name="description" nillable="true" type="xsd:string" />
    <element name="name" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="CreateSharedNamespaceBpelWS">
    - <sequence>
    <element name="actor" nillable="true" type="xsd:string" />
    <element name="comment" nillable="true" type="xsd:string" />
    <element name="from" nillable="true" type="xsd:string" />
    <element name="namespaceData" nillable="true" type="impl:NamespaceDataImplBpelWS" />
    <element name="priority" type="xsd:int" />
    <element name="processAtTime" nillable="true" type="xsd:dateTime" />
    <element name="replyTo" nillable="true" type="xsd:string" />
    <element name="responseRequired" type="xsd:boolean" />
    </sequence>
    </complexType>
    </schema>
    - <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="mapItem">
    - <sequence>
    <element name="key" nillable="true" type="xsd:string" />
    <element name="value" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="Map">
    - <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    + <wsdl:message name="createNamespaceRequest">
    <wsdl:part name="createNs" type="impl:CreateSharedNamespaceBpelWS" />
    </wsdl:message>
    - <wsdl:message name="createNamespaceResponse">
    <wsdl:part name="createNamespaceReturn" type="impl:TransResultWS" />
    </wsdl:message>
    - <wsdl:portType name="JMetroWebService">
    - <wsdl:operation name="createNamespace" parameterOrder="createNs">
    <wsdl:input message="impl:createNamespaceRequest" name="createNamespaceRequest" />
    <wsdl:output message="impl:createNamespaceResponse" name="createNamespaceResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="NAMESPACEWITHMAPSoapBinding" type="impl:JMetroWebService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="createNamespace">
    <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="createNamespaceRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:input>
    - <wsdl:output name="createNamespaceResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="JMetroWebServiceService">
    - <wsdl:port binding="impl:NAMESPACEWITHMAPSoapBinding" name="NAMESPACEWITHMAP">
    <wsdlsoap:address location="http://localhost:7001/axis/services/NAMESPACEWITHMAP" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My NamespaceDataObjectImplBpelWS object contains element appDataDef which is of type java.util.Map.My bpel wsdl file is as below,
    <?xml version="1.0"?>
    <definitions name="NsWithMap"
    targetNamespace="http://bpel.jmetro.actiontech.com"
    xmlns:tns="http://bpel.jmetro.actiontech.com"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    >
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE DEFINITION - List of services participating in this BPEL process
    The default output of the BPEL designer uses strings as input and
    output to the BPEL Process. But you can define or import any XML
    Schema type and us them as part of the message types.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <types>
         <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
              <element name="createNamespace" type="tns:CreateSharedNamespaceBpelWS"/>
              <element name="transResult" type="tns:TransResultWS"/>
              <complexType name="TransResultWS">
                   <sequence>
                        <element name="description" type="string" />
                        <element name="id" type="long" />
                        <element name="responseType" type="int" />
                        <element name="status" type="boolean" />
              </sequence>
              </complexType>
              <complexType name="ADLevelBpelWS">
                   <sequence>
                        <element name="adLevelStr" type="string" />
                        <element name="id" type="int" />
                   </sequence>
              </complexType>
              <complexType name="NamespaceDataImplBpelWS">
                   <sequence>
                        <element name="ADLevel" type="tns:ADLevelBpelWS" />
                        <element name="description" type="string" />
                        <element name="name" type="string" />
                        <element name="appdataDef" type="apachesoap:Map" />
                   </sequence>
              </complexType>
              <complexType name="CreateSharedNamespaceBpelWS">
                   <sequence>
                        <element name="namespaceData" type="tns:NamespaceDataImplBpelWS" />
              </sequence>
              </complexType>
         <element name="desc" type="string"/>
         </schema>
         <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
                        <complexType name="mapItem">
                             <sequence>
                                  <element name="key" type="string" />
                                  <element name="value" type="string" />
                        </sequence>
                        </complexType>
                        <complexType name="Map">
                             <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
                             </sequence>
                        </complexType>
              </schema>
    </types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MESSAGE TYPE DEFINITION - Definition of the message types used as
    part of the port type defintions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <message name="NsWithMapRequestMessage">
    <part name="payload" element="tns:createNamespace"/>
    </message>
    <message name="NsWithMapResponseMessage">
    <part name="payload" element="tns:transResult"/>
    </message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PORT TYPE DEFINITION - A port type groups a set of operations into
    a logical service unit.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- portType implemented by the NsWithMap BPEL process -->
    <portType name="NsWithMap">
    <operation name="initiate">
    <input message="tns:NsWithMapRequestMessage"/>
    </operation>
    </portType>
    <!-- portType implemented by the requester of NsWithMap BPEL process
    for asynchronous callback purposes
    -->
    <portType name="NsWithMapCallback">
    <operation name="onResult">
    <input message="tns:NsWithMapResponseMessage"/>
    </operation>
    </portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARTNER LINK TYPE DEFINITION
    the NsWithMap partnerLinkType binds the provider and
    requester portType into an asynchronous conversation.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="NsWithMap">
    <plnk:role name="NsWithMapProvider">
    <plnk:portType name="tns:NsWithMap"/>
    </plnk:role>
    <plnk:role name="NsWithMapRequester">
    <plnk:portType name="tns:NsWithMapCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    I am trying to set this map data using java code ,
         HashMap procADMap1 = new HashMap(5);
                   PropertyTypeWS pType = new PropertyTypeWS();
                   pType.setTypeIndex(2);     
              AppdataDefImplWS appData1 = new AppdataDefImplWS();
              appData1.setName("Project");
              appData1.setType(pType);
              appData1.setMaxSize(400);
              appData1.setLOB(false);
         appData1.setDefaultValue("Project Default value");
              procADMap1.put(appData1.getName(), appData1);
              setVariableData("request","createNs","/createNs/namespaceData/appdataDef",procADMap1);     
    Then I am passing request object to the method which I want to invoke from bpel process.
    I am able to deploy the application but when I do post message I am getting following exception,
    NamespaceWithMap (createNamespace) (faulted)
    [2004/09/09 18:35:54] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. Less
    faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    code: {Server.userException}
    summary: {org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.}
    detail: {null}
    Is there any other way to handle Map type in bpel process?
    Thanks in advance,
    Sanjay

    Thanks for the quick reply.Actually the web service is already deployed on the server.What I want to do is use existing wsdl file of the deployed web service and invoke the method of the same using oracle PM.
    If I remove element which uses apachesoap:Map type it just works fine also I am getting the complex object returned by the web service method.But when I try to set appDataDef which is of type apachesoap:Map(Axis conversion for java.util.Map and it uses namespace xmlns:apachesoap="http://xml.apache.org/xml-soap") I am getting the error.
    Can you give me some direction to use this exising wsdl file to set map object or it is not possible.

  • Returning more than one value/object from an EJB method

    Hi,
    I have the follong method in the remote interface of my EJB:
    void createSomeObject( MyObject obj1, List returnList1, Map returnMap1);
    Since i want to return a List (returnList1) and a Map(returnMap1) from my EJB method "createSomeObjects", i am passing these as parameters thinking they will be passed by reference and the client(servlet) gets the changes the EJB made to these objects.
    But it doesn't seem to be working, the EJB is filling the List and Map objects and the servlet doesn't get it (pass by value problem).
    My understading is that, all parameters to an EJBs are passed by value(because they are remote calls, the RMI thing), let me know if this right.
    Is there any workaround apart from the following alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model and return this instead of passing them as parameters.
    Thanks
    Vasu

    My understading is that, all parameters to an EJBs
    are passed by value(because they are remote calls,
    the RMI thing), let me know if this right.Yes, that is correct - which you should know from your introduction to J2EE reading.
    Is there any workaround apart from the following
    alternative?
    Alternatives:
    1. Wrap "List list1" and "Map map1" in another model
    and return this instead of passing them as
    parameters.No.

  • Passing Opaque Objects from Oracle to Java

    Hi all
    I am trying to write a stored procedure that needs to be called from different triggers. Each triggers needs to pass a different set of data to the stored procedure. Now the problem is that i need to pack the different set of data into one opaque object type that i can pass onto java. Is there any way of doing this. I am using Oracle 9i running on Linux 2.4.9. I tried using the Object datatype in Oracle 9i. But am not able to pass a object datatype to java directly.

    Didn't know that. Guess the way this API handles the struct is it puts it on the heap, since this idea (with passing a 32-bit var back and forth with a memory location) worked.
    My next problem - I can't figure out a way to destroy a jstring: whenever I do an env->GetStringUTF((char*)charBuff), it seems to simply copy the bytes from the buffer
    into the same String object up the length of the buff (so I get the extra bytes from the previous String if it was longer at the end).
    Here's how it works: I have a loop in C code that parses tags inside a file, then depending on what tag it is, I create a new jobject and call a Java method to do stuff
    to that object. As one of the parameters in the constructor I pass in a String that I create (as you can see above) from a character array, however I am getting
    massive artifacts when I print out that String inside the Java method.
    Thoughts? :(

  • Single object referenced by static method

    Hi,
    I have a class, that I know in advance will only be instantiated ONE time. My problem is that I wish to address this object from elsewhere in the programme. I'm using:
    class Client{
    private static Client me = new Client();
    public static Client getMe(){
         return me;
    ....lots of non-static methods
    Is there a better way of doing this (of course there is, but what??)

    Wouldn't have a clue what GoF is, but yes, what you are describing is an honest-to-god, taught to students, pattern.
    It is the accepted way of doing this, you aren't being dodgy (at least not yet).
    Good luck,
    Radish21

  • Access to Class information from a static method

    There does not appear to be anyway to access the Class object from instead a static method.
    e.g. How could I convert the following code so that it works ?
    class test {
    static void printClassName() {
    System.out.println( getClass().getName() );

    The idea was to have a static method that could be
    used to make a lookup based on the classname. Being
    able to access the class name would mean that I would
    not have to reimplement for every subclass !!!!!Hmm.. what are you trying to look up? Some kind of class-specific constant information maybe?
    In general your best bet is to define an abstract method in your parent class for return of the constant value, then define a specific method in each sub-class that overrides it, retrurning the appropriate value.
    Then you're common processing just gets the value with that method.
    Using some kind of lookup on the basis of class name is much clumsier, and more inclined to run time errors. Better to use the built in virtual methods table.
    Another approach is to have the value as a parameter of the constructor of the parent class and use "super(value)" in the child classes to store
    it.

  • Passing complex object from JavaScript to Flex

    Is it possible to call a Flex function (defined with ExternalInterface.addCallback) and pass a complex object from Javascript?  The properties of the object are all simple types, but the object itself is an array of objects.  For example:
    <script type="text/javascript">
    var arrayOfObj = [ { one: "one", two: 2, three: "blah" }, { one: "xyz", two: "abc", three: 3.141 } ];
    callSomeFunctionInFlex(arrayOfObj);
    </script>
    What would I do on the Flex side to make this happen?

    Complex object passing works as expected in Blazeds. 
    There are certain cases where you need to write custom bean proxy classes to marshall an object, but your case is very simple and will not require it.
    Make sure that you set the full java package and class name in your remote alias statement on your client value object.  The class has to be fully qualified.  The AS value object also needs the correct import of the nested value object or you will get a compile error.
    Make sure that the blazeds server has the full class path set to your java objects.
    To debug, you can turn on Blazeds logging in the services-config.xml file like this:
       <logging>
            <!-- You may also use flex.messaging.log.ServletLogTarget -->
            <target class="flex.messaging.log.ConsoleTarget" level="DEBUG">
                <properties>
                    <prefix>[BlazeDS]</prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>true</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
            </target>
        </logging>

  • Problem when passing an object from Illustrator to Photoshop inCS5 pack

    Hello, since I have a new system I have this problem in Illustrator. When I try to pass and Icon for example, from illustrator to photoshop my Illustrator crashes. Even whe I try to save my work somethimes Illustrator crashes. I didn't had this problem with my old computer usineg the same pack CS5 the passing of a file from illutrator to photoshop took about 3 seconds. Please help me, my work is becoming frustrating beacause of this.
    Here are the System details:
    Photoshop
    Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x32
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 8
    Processor speed: 3392 MHz
    Built-in memory: 16332 MB
    Free memory: 8674 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 78 %
    Image tile size: 1028K
    Image cache levels: 5
    OpenGL Drawing: Disabled.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Not Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 650/PCIe/SSE2
    Display: 2
    Display Bounds:=  top: 0, left: 1920, bottom: 1200, right: 3840
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1200, right: 1920
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 650
    Driver Version: 9.18.13.1106
    Driver Date: 20130118000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1920 x 1200 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 650
    Video Card Memory: 1024 MB
    Serial number: 92278816315259434402
    Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\
    Temporary file path: C:\Users\Mircea\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      D:\, 150.0G, 149.7G free
      C:\, 238.5G, 89.0G free
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2010/10/04-23:36:11   64.441628   64.441628
       adbeape.dll   Adobe APE 2010/02/23-12:40:58   61.421986   61.421986
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2010/06/03-13:43:23   3.0.93   61.433187
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2010/12/13-23:37:10   64.341419   64.341419
       AdobePIP.dll   Adobe Product Improvement Program   5.0.0.2021  
       AdobeXMP.dll   Adobe XMP Core   5.0   61.134777
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777
       AdobeXMPScript.dll   Adobe XMP Script   5.0   61.134777
       adobe_caps.dll   Adobe CAPS   3,0,116,0  
       adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00)   1.000000
       AFlame.dll   AFlame 2010/02/23-17:27:33   61.421976   61.421976
       AFlamingo.dll   AFlamingo 2010/02/23-17:27:33   61.421978   61.421978
       AGM.dll   AGM 2010/10/04-23:36:11   64.441628   64.441628
       ahclient.dll    AdobeHelp Dynamic Link Library   1,5,0,30  
       aif_core.dll   AIF   2.0   53.422628
       aif_ogl.dll   AIF   2.0   53.422628
       amtlib.dll   AMTLib   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       amtservices.dll   AMTServices   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       ARE.dll   ARE 2010/10/04-23:36:11   64.441628   64.441628
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat 2010/02/23-17:27:33   61.421978   61.421978
       AXEDOMCore.dll   AXEDOMCore 2010/02/23-17:27:33   61.421978   61.421978
       Bib.dll   BIB 2010/10/04-23:36:11   64.441628   64.441628
       BIBUtils.dll   BIBUtils 2010/10/04-23:36:11   64.441628   64.441628
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2010/10/04-23:36:11   64.441628   64.441628
       data_flow.dll   AIF   2.0   53.422628
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ExtendScript.dll   ExtendScript 2010/10/19-10:22:12   61.445301   61.445301
       FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_flow.dll   AIF   2.0   53.422628
       image_runtime.dll   AIF   2.0   53.422628
       JP2KLib.dll   JP2KLib 2010/12/13-23:37:10   64.181312   64.181312
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2, 0, 1, 11  
       MPS.dll   MPS 2010/12/13-23:37:10   64.450375   64.450375
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4940  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS5   CS5  
       Plugin.dll   Adobe Photoshop CS5   CS5  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   2.0.0.746  
       PSArt.dll   Adobe Photoshop CS5   CS5  
       PSViews.dll   Adobe Photoshop CS5   CS5  
       SCCore.dll   ScCore 2010/10/19-10:22:12   61.445301   61.445301
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Threading Building Blocks   2, 1, 2009, 0201  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   1.0.0.68
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
       wu3d.dll   U3D Writer   9.3.0.113  
    Installed plug-ins:
       3D Studio 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Accented Edges 12.0
       ADM 3.11x01
       Angled Strokes 12.0
       Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Bas Relief 12.0
       BMP 12.0.2
       Camera Raw 6.7
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Collada 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Color Halftone 12.0.2
       Colored Pencil 12.0
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Craquelure 12.0
       Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       De-Interlace 12.0.2
       Dicom 12.0
       Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Embed Watermark 4.0
       Entropy 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Extrude 12.0.2
       FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Google Earth 4 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Grain 12.0
       Graphic Pen 12.0
       Halftone Pattern 12.0
       HDRMergeUI 12.0
       IFF Format 12.0.2
       Ink Outlines 12.0
       JPEG 2000 2.0
       Kurtosis 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Lens Blur 12.0
       Lens Correction 12.0.2
       Lens Flare 12.0.2
       Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Liquify 12.0.1
       Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Maximum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mean 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Median 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mezzotint 12.0.2
       Minimum 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Mosaic Tiles 12.0
       Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Neon Glow 12.0
       Note Paper 12.0
       NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Ocean Ripple 12.0
       OpenEXR 12.0.2
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Paths to Illustrator 12.0.2
       PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Photocopy 12.0
       Photoshop 3D Engine 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Pinch 12.0.2
       Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Poster Edges 12.0
       Radial Blur 12.0.2
       Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Range 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.0.4
       Send Video Preview to Device 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Shear 12.0.2
       Skewness 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Standard Deviation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Sumi-e 12.0
       Summation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Targa 12.0.2
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       U3D 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Underpainting 12.0
       Vanishing Point 12.0
       Variance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Video Preview 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       Wavefront|OBJ 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       Wind 12.0.2
       Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
       ZigZag 12.0.2
      Plug-ins that failed to load: NONE
    Flash:
       Flash
       Mini Bridge
       Access CS Live
       CS News and Resources
       Flash
       Kuler
       CS Review
    Installed TWAIN devices: NONE
    Illustrator:
    Components:
    ACE 2010/06/28-18:09:25 61.435133 61.435133
    Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
    Adobe Linguisitc Library 5.0.0
    Adobe Owl 2010/03/08-15:17:17 3.0.89 61.423383
    Adobe Owl Canvas 3.0.68 61.2954
    PDFL 2010/10/18-23:35:06 64.341419 64.341419
    Adobe Product Improvement Program 5.0.0.2021
    AdobePSL 64.699054_12.664233 64.699054_12.664233
    Adobe XMP Core 5.0 61.134777
    Adobe XMP Files 5.0 61.134777
    Adobe XMP Script 5.0 61.134777
    Adobe CAPS 3,0,116,0
    Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
    AFL 1.0
    AFlame 2010/10/04-23:36:11 64.443603 64.443603
    AFlamingo 2010/10/04-23:36:11 64.436825 64.436825
    AGM 2010/06/28-18:09:25 61.435133 61.435133
    AdobeHelp Dynamic Link Library 1,5,0,30
    AIPort 1.0 23.68434
    Adobe EPIC 3.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
    AMTLib 3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00) 1.000000
    AMTServices 3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00) 1.000000
    ARE 2010/06/28-18:09:25 61.435133 61.435133
    Adobe Illustrator 1.0
    AsnEndUser Dynamic Link Library 1, 7, 0, 1
    Unknown Name
    AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
    AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
    AXSLE 2010/02/23-17:27:33 61.421978 61.421978
    BIB 2010/06/28-18:09:25 61.435133 61.435133
    BIBUtils 2010/06/28-18:09:25 61.435133 61.435133
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    CoolType 2010/06/28-18:09:25 61.435133 61.435133
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    DVA Product 5.0.0
    ExtendScript 2010/03/05-08:21:15 61.423205 61.423205
    Adobe XMP FileInfo 5.0 61.134777
    FilterPort 1.1 61.435133
    Microsoft® Windows® Operating System 6.1.7601.18120
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 3, 4, 0, 0
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    International Components for Unicode 3, 4, 0, 0
    International Components for Unicode 2009/12/05-11:25:03  Build gtlib_main.11277
    JP2KLib 2010/02/24-17:43:58 61.131544 61.131544
    Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
    LogSession 2, 0, 1, 11
    MPS 2010/02/24-17:43:58 61.421978 61.421978
    Microsoft (R) Visual C++ 6.00.8168.0
    Microsoft® Visual Studio .NET 7.10.3077.0
    Microsoft® Visual Studio® 2005 8.00.50727.42
    Microsoft® Visual Studio .NET 7.10.3052.4
    Microsoft® Visual Studio® 2005 8.00.50727.42
    Microsoft® Visual C++ 2.10.000
    Microsoft® Visual C++ 4.00.5270
    PDFPort 2010/06/28-18:09:25 61.435133 61.435133
    Adobe PDFSettings 1.04
    Adobe Photoshop CS5 CS5
    Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 2.0.1.127
    Adobe India Sangam Core Code 2010/02/03-18:48:35 61.129109 61.129109
    Adobe India SangamML Import from Sangam 2010/02/03-18:48:35 61.129109 61.129109
    ScCore 2010/03/05-08:21:15 61.423205 61.423205
    Microsoft® Windows® Operating System 6.00.2600.0000
    SVGExport 6, 0, 0, 0 1.0
    SVGRE 6, 0, 0, 0 1.0
    Adobe Updater Notifications Library 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
    WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
    ATE
    OS: Windows
    Version: 6.1
    System Architecture: x86
    Built-In Memory: 4043 MB
    Application Folder:
    C:\Program Files (x86)\Adobe\Adobe Illustrator CS5\Support Files\
    Primary Scratch Folder:
    C:\AITEMP\
    Secondary Scratch Folder:
    D:\AITEMP\
    Plug-ins:
    Live Menu Item
    Adobe AI Application Plugin
    Control Groups
    Color Conversion
    Composite Fonts
    New Cache Plugin
    AdobeLicenseManager
    ZStringTable
    Window Menu
    Main Filters
    Main File Formats
    File Format Place EPS
    AI File Format
    Debug Menu
    SLO Text Tool
    Mesh Object
    Document Window Plugin
    Sweet Pea 2 Adapter Plugin
    ADM Plugin
    ASLib
    AdobeActionManager
    AILocalized Resources Plugin
    FrameworkS
    Art Converters v2
    FlattenTransparency
    FO Conversion Suite
    Pathfinder Suite
    PDF Suite
    BRS Pencil Tool
    Rasterize 8
    AdobeSlicingPlugin
    AdobeActionPalette
    BeautifulStrokes Suite
    AdobeBrushMgr
    Adobe Color Harmony Plugin
    Control Palette Plugin
    Adobe Deform Plugin
    AdobeLayerPalette
    Adobe Planar Edit Plugin
    AdobePaintStyle
    PathConstruction Suite
    AdobeSwatch_
    AdobeToolSelector
    Adobe Tracing Object
    Adobe Custom Workspace
    AdobeDiffusionRaster
    Snapomatic
    Adobe Geometry Suite
    Flatten Suite
    ShapeConstruction Suite
    ExpandS
    SWFExport
    Photoshop Plugin Adapter Targa
    Photoshop Plugin Adapter PNG
    Photoshop Plugin Adapter Pixar
    Photoshop Plugin Adapter PCX
    Photoshop Plugin Adapter BMP
    Photoshop Plugin Adapter Unsharp Mask...
    Photoshop Plugin Adapter Smart Blur...
    Photoshop Plugin Adapter Radial Blur...
    Photoshop Plugin Adapter Pointillize...
    Photoshop Plugin Adapter NTSC Colors
    Photoshop Plugin Adapter Mezzotint...
    Photoshop Plugin Adapter Gaussian Blur...
    Photoshop Plugin Adapter De-Interlace...
    Photoshop Plugin Adapter Crystallize...
    Photoshop Plugin Adapter Color Halftone...
    Photoshop Plugin Adapter Texturizer...
    Photoshop Plugin Adapter Stained Glass...
    Photoshop Plugin Adapter Patchwork...
    Photoshop Plugin Adapter Mosaic Tiles...
    Photoshop Plugin Adapter Grain...
    Photoshop Plugin Adapter Craquelure...
    Photoshop Plugin Adapter Glowing Edges...
    Photoshop Plugin Adapter Water Paper...
    Photoshop Plugin Adapter Torn Edges...
    Photoshop Plugin Adapter Stamp...
    Photoshop Plugin Adapter Reticulation...
    Photoshop Plugin Adapter Plaster...
    Photoshop Plugin Adapter Photocopy...
    Photoshop Plugin Adapter Note Paper...
    Photoshop Plugin Adapter Halftone Pattern...
    Photoshop Plugin Adapter Graphic Pen...
    Photoshop Plugin Adapter Cont^e Crayon...
    Photoshop Plugin Adapter Chrome...
    Photoshop Plugin Adapter Charcoal...
    Photoshop Plugin Adapter Chalk && Charcoal...
    Photoshop Plugin Adapter Bas Relief...
    Photoshop Plugin Adapter Ocean Ripple...
    Photoshop Plugin Adapter Glass...
    Photoshop Plugin Adapter Diffuse Glow...
    Photoshop Plugin Adapter Sumi-e...
    Photoshop Plugin Adapter Sprayed Strokes...
    Photoshop Plugin Adapter Spatter...
    Photoshop Plugin Adapter Ink Outlines...
    Photoshop Plugin Adapter Dark Strokes...
    Photoshop Plugin Adapter Crosshatch...
    Photoshop Plugin Adapter Angled Strokes...
    Photoshop Plugin Adapter Accented Edges...
    Photoshop Plugin Adapter Watercolor...
    Photoshop Plugin Adapter Underpainting...
    Photoshop Plugin Adapter Sponge...
    Photoshop Plugin Adapter Smudge Stick...
    Photoshop Plugin Adapter Rough Pastels...
    Photoshop Plugin Adapter Poster Edges...
    Photoshop Plugin Adapter Plastic Wrap...
    Photoshop Plugin Adapter Palette Knife...
    Photoshop Plugin Adapter Paint Daubs...
    Photoshop Plugin Adapter Neon Glow...
    Photoshop Plugin Adapter Fresco...
    Photoshop Plugin Adapter Film Grain...
    Photoshop Plugin Adapter Dry Brush...
    Photoshop Plugin Adapter Cutout...
    Photoshop Plugin Adapter Colored Pencil...
    Photoshop Plugin Adapter Filter Gallery...
    Twirl v2
    AdobeBuiltInToolbox
    Adobe Symbolism
    Simplify
    ShapeTool
    Segment Tools
    Adobe Scatter Brush Tool
    Reshape Tool
    Magic Wand
    Liquify
    Lasso
    Knife Tool
    Adobe Flare Plugin
    AdobeTextDropper
    Adobe Eraser Tool
    Adobe dBrush Brush Tool
    Adobe Crop Tool
    Adobe Calligraphic Brush Tool
    BoundingBox
    AdobeArtBrushTool
    Smart Punctuation
    TxtColumns
    Spell Check Dictionary
    Spell Check UI
    Find Replace UI
    TextFindFont
    TypeCase
    Adobe PSD File Import
    Adobe PSD File Export
    Photoshop Adapter
    PerspectiveUI
    TIFF File Format
    PNG File Format
    MPSParser
    MPSExport
    MPSCommon
    Mojikumi UI
    FXG UI
    FXG
    Adobe DXFDWG Format
    ZigZag v2
    Scribble v2
    TextWrap Dlg
    ShapeEffects v2
    Adobe Scribble Fill
    Saturate
    Round v2
    Roughen v2
    Punk v2
    AdobePathfinderPalette
    Overprint
    OffsetPath v2
    AI Object Mosaic Plug-in
    MaskHelper v2
    Inverse
    FuzzyEffect v2
    Distort v2
    Find
    Expand
    DropShadow
    TrimMark v2
    Colors
    Cleanup
    Adjust
    AddArrowHeads v3
    Add Anchor Points
    Adobe Welcome Screen
    AdobeTransparencyEditor
    AdobeTransformObjects
    Transform v2
    Adobe Tracing UI
    Adobe Symbol Palette Plugin
    SVG Filter Effect v2
    Stroke Offset v2
    Services
    SeparationPreviewPlugin
    Scripts Menu
    ScriptingSupport
    Print Plugin
    Adobe Perspective Guides
    Adobe Nudge
    AdobeNavigator
    Adobe Path Blends
    AdobeLinkPalette
    Kinsoku Dlg
    KBSC Plugin
    GradientMeshPlugin
    Flattening Preview
    FileClipboardPreference
    DocInfo
    Character and Paragraph Styles
    AI Bottlenecks Plugin
    Asset Management
    AdobeArtboardPanel
    Adobe Art Style Plugin
    Adobe App Bar Controls Host
    Alternate Glyph Palette
    AdobeAlignObjects
    3D v2
    PDF File Format
    ADMEveParser Plug

    Hi Mylenium,
    The program just loads useless to use your words when I try to pass a file from Illustrator to Photoshop and when I click anywhere in Illustrator I get Program "Not responding" it doesn't crashes (stops) it stais opened but it doesn't do anything so I need to close it by force from task manager because I can't do anything with it.... Once I left it over night to save an important file and just in the morning I managed to do that so after a while it comes round but all the time there are different periouds of pending. Anyway this is not normal and I should be able to use the program in normal parameters with a powerful system. 
    I don't have any processor over load in the task manager I don't have anything unusual that indicates an over load of information, that's my problem. My guess is that I have a system incompatibility but I don't know where so that's why I asked for Adobe's help. Again I didn't had this problem using the same pack (CS5) with a less powerful system...
    If there are any creash logs pelase tell me where can I find them ?

  • How can I pass an object to an inner method?

    Hi all,
    I'm stuck with a tiny problem here, hope someone can help out:
    I receive an UndoableEditEvent object in my method and I then want to apply that object to a JTextArea, my understanding is that I need to add a listener to the JTextArea.. but it won't see my UndoableEditEvent object.
          public static void edit( UndoableEditEvent e ) {
                final UndoManager undo = new UndoManager();
                Document doc = text_in.getDocument();
                doc.addUndoableEditListener(new UndoableEditListener() {
                public void undoableEditHappened(UndoableEditEvent e) {
                    System.out.println(e.getEdit());
                     undo.addEdit(e.getEdit());
    Any ideas?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, that looks like the right code for adding a listener to your JTextArea... except for the bit where the code is inside a static method that has an UndoableEditEvent as a parameter. Just get rid of that, and put the inside code immediately after the line of code where you create your JTextArea. You will probably have to make your UndoManager an instance variable of your class, too.

  • Passing a object from browser to server

    How can i pass a java object from browser to server, can anybody help me in knowing this?
    Rajesh.

    You might need to clarify this. What exactly do you need to do? You can't pass anything from a browser except HTML, other than by attachment. If you have a Java object, then I assume that you are using JSP or something that supports Java, in which case you are already using server-side semantics.
    If however, you mean Javascript, that's a whole other problem, as it is client side only.
    Perhaps if you clarify what you are trying to do someone can give you a good answer.
    Regards,
    Paul

Maybe you are looking for

  • How to update the price based upon PGI date

    Hi         I have issue of updation of the Prices and freight based on PGI date in the billing we are using the two billing types for the excsies and tax invoice creation .And in the copy control pricing type is maintained Aas "C" for the billing typ

  • Is it safe to use clean my mac download?

    Is it safe to use clean my mac download?

  • OVS - display result table directly

    I have implemented a search help using OVS. I have some search criteria as part of the search help for which I have provided some default value. When the user clicks on the search help the default value is displayed but only when the user clicks on '

  • RG23A PART I and II tax amount

    Hi All, i have sale the some Quantity from the assemble plant. from these quantity some meterial return from customer becouse of some defect. how can i reverse that in purchase RG23A PART I and II tax amount. Please provide the valid information. Bes

  • Could not Install Photoshop in Windows 7

    When I Run Setup.exe, it checks system profile or whatever, after entering Serial it says "insert photoshop CS4 into the Drive" so, please tell me What is the Problem in the Installation ??