Please uggest some java Interfaces

I write all my java programmes in notepad.
is there some interface or downloadable program where I can type java and it will have some color, etc?
notepad is a pain especially when my programmes get longer and longer
thanks

If you like to type in a plain text editor but want to get highlights on Java keywords try Ultra Edit. I used it for a long time. You can even start programms from within, so you can start your compile and run by using key strokes while editing.
If you like to enhance your programming not only by highlighted Java keywords but want to use a real development tool with debugger, object tree, package management, coding help with a tooltip of all possible methods you can use with a certain object after typing a point and many things more just use eclipse. It's open source, you can get it at www.eclipse.org.
Rommie.

Similar Messages

  • We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    Anyone any ideas to help please?

  • Are Java Interfaces 'free'?

    From a performance point of view, are Java interfaces free?
    That is, if I have:
    class Foo
    public void bar() { ... // some code }
    }and I change it to:
    interface Foo
    public void bar();
    class FooImpl implements Foo
    public void bar() { ... // some code }
    }And I call one or other of the Foos like
    Foo foo // A parameter, field or local variable.
    foo.bar();Does calling foo through an interface add any overhead that calling it direct in the first example not? As I understand it, all methods are 'virtual' in Java, so it should perform the same in either case.
    Thanks for any of your thoughts.
    Rupert

    rupertlssmith wrote:
    YoungWinston wrote:
    The Second Rule of Program Optimization (for experts only!): Don't do it yet.”
    - Michael A. Jackson
    Basically, don't worry about it. Worry about writing clear, correct, object-oriented code.
    Wierdly enough, in the long run, that is more likely to help than anything else you can do, should (and if) you ever need to worry about optimization in the future.
    WinstonThanks for the advice. I can write good clear OO code. I am now at the future and worrying about optimization, so have made it past the second rule!Then you exactly know where your bottleneck is from the profiler you've used. Did it tell you that your interfaces are the bottleneck? If so, why do you even bother to ask here?

  • Please send some Important Quetions from REPORTS

    i have a interview in TCS
    Please send some Important Quetions from REPORTS,SMARTFORMS,ALE/IDOC's

    Hi,
    Here are the links
    http://www.sap-img.com/abap/important-abap-faq.htm
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    Debugging Document.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    BAPI
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    List of all BAPIs
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    Remote Function Call:
    RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.
    RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.
    RFCs manage the communication process, parameter transfer and error handling.
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Refer this
    http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html
    http://www.****************/InterviewQ/interviewQ.htm
    http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm
    http://www.techinterviews.com/?p=198
    http://www.techinterviews.com/?p=326
    http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP
    http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240
    http://www.sap-img.com/abap/abap-interview-question.htm
    http://www.allinterview.com/Interview-Questions/ABAP.html
    Reward points for useful Answers
    Regards
    Sudheer

  • Some Java Thread error in Xp (Urgent)

    HI all,
    I am working on a 3 tier software and it is running fine on all machines except one "The XP Machine",
    The problem is when i m going tru http://appserv:13000 it starts executing but in between an error comes that shows that some java thread or null pointer error and execution stops, i have faced similar type of error in WIN 98 but after installing java virtual machine it was sorted.
    but on this perticular machine i have already installed this JVM, but still problem is as it is.
    Please help me to sort this problem,
    Thanks & regards
    Tehzeeb Ahmed

    Tehzeeb,
    this is an Oracle Forms discussion forum. General Java questions are best answered on teh J2EE forum or the JDeveloper forum.
    Btw.: You need to be more specific when describing the problem.
    Frank

  • Please free some space - sapinstal - NW CE 7.1

    Hi Community,
    I´m installing the SAP Netweaver Composition Environment 7.1 including
    Enhancement Package 1 on Windows 2003 R2 Standard x64 Edition and
    Oracle 10.2.0.4.
    When the sapinst run the task progress, in step "Install software unit"
    I have the error:
    DeployException:[ERROR CODE DPL.DCAPI.1027]
    SduLoadingException.
    Reason: Please free some more disk space.; nested exception is:
    com.sap.engine.services.dc.cm.deploy.NotEnoughDiskSpaceExcepion:
    Usable free disk space bytes is less than
    minimal number of bytes to operate . Please free some space.
    Any idea for this problem ?
    Thanks in advanced.

    Hi Carlos,
    As per error message, you check the space required for your server installation : -
    Please make sure that you meet following system requirements:
    -Operating System:
        Windows XP Professional (Service Pack 2) or Windows Server 2003 or Windows Vista
    -Hostname must not exceed 13 characters
    -NTFS-File system
    -Internet Explorer 5.5 or higher or Firefox 1.0 or higher
    -At least 1 GB RAM (2-4 GB recommended)
    -Pagefile size according to your RAM settings.
    -Intel Pentium III/1.1 GHz or higher (or compatible)
    -30 GB hard disk space temporary during installation - 24 GB permanent
    -High-resolution monitor (1024x768 or higher, 256 colors)
    -Make sure that no other SAP system is installed on your computer
    -The SAP system requires several ports for communication services. Therefore the file %WINDIR%\system32\drivers\etc\services must not include an entry for the ports 3200, 3600, 3900 and 8000. A possible entry can be excluded by using the hash symbol (#). (Note: The entry sapmsNSP 3600 for dialog instances may not exist, as it is set to 0 in Trial versions).
    -If no DHCP server is available on your network (which dynamically determines the IP address) or your computer is not connected to any network, you need to install the virtual interface adapter MS Loopback Adapter.
    Hope it helps.
    Regards,
    Arun

  • Java interfaces allow us to specify limited ways in which otherwise

    can anyone explain "Java interfaces allow us to specify limited ways in which otherwise dissimilar classes, from completely different parts of inheritance hierarchy, resemble one another." please?
    many thanks.

    An interface defines a contract which an implementing class must fulfill. As long as the implementing class is written properly, then it provides a specific, advertised behavior. There are no restrictions as to which classes may implement a given interface (in the sense that there are inheritance restrictions, such as single-inheritance, no inheritance loops, and the like). Therefore, any two arbitrary classes may implement the same interface, and therefore provide the same behavior.
    For example, the Iterator interface provides the ability to loop over a collection of objects in a well-defined way. Any class which implements Iterator would be manipulable in the same way, and could therefore be said to resemble each other.

  • Mediator To Spring Error-Could not convert from java interface to interface

    Hi,
    I have a requirement to using a Spring component and my composite application would be File Read -> Mediator -> Spring Component -> File Write.
    I have to read a file and using mediator map the same to the Spring input and write the Spring component output to a file.
    I have created a Java interface ( Package Name - transformtospring , Interface Name - TransformInterface) and also created a Java Class ( TransformImpl ) which implements the Interface in this package. Saved all these artifacts in SCA-INF/src folder of the application.
    My Spring Bean configuration file is as follows ( saved the file in the same folder as composite.xml )
    <?xml version="1.0" encoding="windows-1252" ?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd">
    <!--Spring Bean definitions go here-->
    <bean class="transformtospring.TransformImpl" name="TransformBean"/>
    <sca:service name="TransformService" target="TransformBean"
    type="transformtospring.TransformImpl"/>
    </beans>
    I have created a Spring Context which uses the above Spring Configuration. When i tried to map the mediator output to Spring , i'm getting an error shown below.
    " Could not convert from java interface to interface type wsdl . Exception=java.lang.ClassNotFoundException transformtospring.TransformImpl "
    Please do let me know where exactly i'm doing wrong.
    Regards,
    Sri.

    Hi All,
    I could able to work this one out now !!!
    But i'm having an issue mapping the input to this service. The method signature for the service is as follows:
    public byte[] processData(byte[] input) throws Throwable{
    So the input for this Service is a byte array. Now i'm mapping the data from a File Input ( Read File - opaqueElement ) to this service directly ( using mediator ).
    Now when i have looked into the message in the Enterprise Manager, following is the message structure from Read File input to the service.
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    </properties>
    <parts>
    <part name="parameters">
    <ns0:processCollaboration>
    <arg0>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bnMwOkFkZDJJbnB1dCAgeG1s bnM6eHNpPSdodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZScgeG1sbnM6 bnMwPSd1ay5jby5qZHdpbGxpYW1zLkFkZDJJbnB1dCcgeHNpOnNjaGVtYUxvY2F0aW9uPSd1ay5j by5qZHdpbGxpYW1zLkFkZDJJbnB1dCByZXF1ZXN0LnhzZCcPG5zMDpudW0xPjEwPC9uczA6bnVt MT48bnMwOm51bTI+MTY8L25zMDpudW0yPjwvbnMwOkFkZDJJbnB1dD4=+</arg0>
    </ns0:processCollaboration>
    </part>
    </parts>
    </message>
    and the corresponding response message ( No output ) back from the service is:
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="componentName" value="ProcessCollab"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    <property name="compositeDN" value="default/CollaborationToSpring!1.0*soa_a8da1da7-f98f-4935-8d20-da9e7bc003cc"/>
    </properties>
    <parts>
    <part name="parameters">
    <processCollaborationResponse>
    <return/>
    </processCollaborationResponse>
    </part>
    </parts>
    </message>
    I have included System.out statements in my Java class , but its not printing anything in the logs.
    I'm under the impression that the underlying infrastructure ( mediator ) transparently encodes and decodes data from base64Binary to java byte array. So could anyone help me on this !!!
    Regards,
    Sri.

  • Any good article on Java Interface usage principle?

    Hi All
    I find Java interface is quite good concept, but some expert mentioned in some article, "Don't over use it".
    Just wonderring anyone can point me to some good article on the internet on In what kind sceniaro we need use Interface, in which case we'd better not use it.
    Thanks in advance.
    Steven

    Then how do you explain some gurus said" don't overuse interface"?I explain it thus:
    (a) it doesn't actually contradict what the article says
    (b) 'don't overuse interfaces' is a tautology: it doesn't actually say anything very useful.
    On the other hand there's no reason why "some gurus" can't disagree with Holub. I disagree myself to a large extent. You can define your entire API as interfaces, but then you're committed to all kinds of factory methods, and provision of secret implementation classes, etc. This can get pretty tedious pretty quickly. And, somewhere or other, you must have at least one actual class, so that you can have either a static method or a constructor, so you can get hold of your initial factory, or factory builder, or factory builder factory, or factory builder factory builder, or wherever it is that you want to start.
    I've used frameworks where there were four different implementation classes for the same interface. Never did find out why. Something wrong somewhere.
    When you can keep your base classes stable, I don't see a reason not to use them. 'Base class fragility' is all that Holub is really complaining about, and there are lots of solutions to that, such as 'don't' for a start. Java is chock full of stable base classes.

  • Please suggest some swing/bean book(Beginer free downloadable)

    Please suggest some dedicated swing/bean book(free downloadable)
    as I am at beginer level.
    It would be nice if it covers all major topics and suits quick
    understanding.

    Good starting place...
    http://java.sun.com/docs/books/tutorial/uiswing/
    and here...
    http://developer.java.sun.com/developer/onlineTraining/GUI/Swing1/shortcourse.html
    then here...
    http://developer.java.sun.com/developer/onlineTraining/GUI/Swing2/shortcourse.html

  • Accessing java Interface

    Hi.
    Sorry for my bad english.
    I'm in trouble.
    I have became a complet HttpServer with a simple servlet.
    My servlet doesn't contains all of the functions, what I
    MUST to use.
    I have to use a givven Java Interface, to communicate via rmi
    between to java servers. There are givven java classes.
    I can execute a server, which creates some object.
    I'm interested to use these methods, or the interface.
    Somebody knows, how should i to try to do this?
    (I can create the JVM,
    I can access a class, but not a class of this projekt. classpath seems to be correct. How Can I use a Java Interface via JNI?)
    Thanks:
    Peter([email protected])

    post your error messages so we can see what java is telling you.

  • JACL, TCLBlend, TCL Shell, JAVA Interface

    My goal: To embed a TCL Shell Interpreter into my JAVA program so I can source tcl files and run procs.
    Tools available to me that I know of: JACL and TCLBlend.
    I have been trying to use JACL since it's pure Java based as opposed to TCLBlend. I am using version JACL 1.0.
    I found a TCL Shell code example and I'm trying to make it work. I appended it at the end of my note.
    It compiles fine, but when I run it, I get this output:
    ==============================
    missing close-brace
    tcl.lang.TclException
         at tcl.lang.Parser.eval2(Parser.java)
         at tcl.lang.Interp.eval(Interp.java)
         at tcl.lang.Interp.evalResource(Interp.java)
         at tcl.lang.Interp.<init>(Interp.java)
         at TCL.Shell.main(Shell.java:54)
    tcl.lang.TclRuntimeError: unexpected TclException: tcl.lang.TclException
         at tcl.lang.Interp.<init>(Interp.java)
         at TCL.Shell.main(Shell.java:54)
    Exception in thread "main" Process Exit...
    =======================
    I was reading about this error and I think it has something to do with either the 'set TCL_LIBRARY=" settingi nthe autoexec or the \ esc char in the init.tcl file.
    I have added this line to my autoexec:
    set TCL_LIBRARY=C:\jdk\Jacl1.0\src\java\tcl\lang\library
    I also tried deleting some of the \ esc chars. I might try doubling them up next.
    I don't know what to do to make this code work?
    ====================
    package TCL;
    * Shell.java --
    * Implements the start up shell for Tcl.
    * Copyright (c) 1997 Cornell University.
    * Copyright (c) 1997 Sun Microsystems, Inc.
    * See the file "license.terms" for information on usage and
    * redistribution of this file, and for a DISCLAIMER OF ALL
    * WARRANTIES.
    import java.util.*;
    import java.io.*;
    import tcl.lang.*;
    * The Shell class is similar to the Tclsh program: you can use it to
    * execute a Tcl script or enter Tcl command interactively at the
    * command prompt. This implementation uses only the classes provided
    * by the Jacl or TclBlend distribution.
    * To use this class with Jacl, put "tcljava.jar" and "jacl.jar" in
    * the CLASSPATH. To use this class with TclBlend, put "tcljava.jar" and
    * "tclblend.jar" in the CLASSPATH. Compile this class by:
    * javac -classpath $CLASSPATH Shell.java
    * Run this class by:
    * java -classpath $CLASSPATH Shell
    * When using this class with TclBlend on UNIX, also make sure that the
    * "libtclblend.so" and "libtclxx.so" are in your LD_LIBRARY_PATH. When
    * using this class with TclBlend on Windows, make sure that the
    * "tclblend.dll" and "tclxx.dll" are in your PATH. Also make sure that
    * the environment variable "TCL_LIBRARY" is set to point to the library
    * for Tcl 8.2. The TCL_LIBRARY environment variable must be set.
    public class Shell {
    * main -- Main program for tclsh and most other Tcl-based applications.
    public static void main (String args[])
    // Create the interpreter. This makes the main thread the
    // Tcl interpreter thread.
    Interp interp = new Interp();
    // Process command line arguments, ignored for simplicity.
    // Start the ConsoleThread that loops, grabbing stdin and passing
    // it to the interp.
    ConsoleThread consoleThread = new ConsoleThread(interp);
    consoleThread.setDaemon(true);
    consoleThread.start();
    // Loop forever to handle user input events in the command line.
    Notifier notifier = interp.getNotifier();
    while (true) {
    // Process events until the user types "exit".
    notifier.doOneEvent(TCL.ALL_EVENTS);
    } // end class Shell
    * ConsoleThread -- This class implements the Console Thread: The console
    * thread loops forever, reading from the standard input, executing the user
    * input and writing the result to the standard output.
    class ConsoleThread extends Thread {
    * Interpreter associated with this console thread.
    private Interp interp;
    * Collect the user input in this buffer until it forms a
    * complete Tcl command.
    private StringBuffer sbuf;
    * ConsoleThread -- Create a ConsoleThread.
    ConsoleThread(Interp i) // Reference to the interp object.
    setName("ConsoleThread");
    interp = i;
    sbuf = new StringBuffer(100);
    * run -- Called by the JVM to start the execution of the
    * console thread. It loops forever to handle user inputs.
    public void run()
    put(System.out, "% "); // put up a prompt
    while (true) {
    // Loop forever to collect user inputs in a StringBuffer.
    // When we have a complete command, then execute it and print
    // out the results.
    // The loop is broken under two conditions: (1) when EOF is
    // received inside getLine(). (2) when the "exit" command is
    // executed in the script.
    getLine();
    // We have a complete or partial command now. Execute it.
    // We use a ConsoleEvent to make the interpreter thread
    // executing the command instead of executing the command
    // directly here.
    ConsoleEvent evt = new ConsoleEvent(this);
    interp.getNotifier().queueEvent(evt, TCL.QUEUE_TAIL);
    evt.sync(); // wait for the Interp to finish handling the
    // command
    * safeEvalCommand -- Called by the ConsoleEvent.processEvent.
    * This method should only be called from the processEvent() method
    * of the ConsoleEvent The ConsoleEvent.processEvent() method is
    * guaranteed to be called by the TCL interpreter thread. As a
    * result, it is safe to access Interp class data and method inside
    * this method.
    void safeEvalCommand()
    String command = sbuf.toString();
    if (Interp.commandComplete(command)) {
    try {
    // we have a complete Tcl command, call the interpreter
    // method to execute the Tcl command
    //interp.recordAndEval(TclString.newInstance(command), 0);
              interp.eval(TclString.newInstance(command), 0);
    TclObject evalResult = interp.getResult();
    evalResult.preserve();
    String s = evalResult.toString();
    if (s.length() > 0) {
    putLine(System.out, s);
    evalResult.release();
    } catch (TclException e) {
    // Execution of the Tcl command caused an error
    int code = e.getCompletionCode();
    check_code: {
    if (code == TCL.RETURN) {
    //code = interp.updateReturnInfo();
    //if (code == TCL.OK) {
    // break check_code;
    switch (code) {
    case TCL.ERROR:
    putLine(System.err, interp.getResult().toString());
    break;
    case TCL.BREAK:
    putLine(System.err,
    "invoked \"break\" outside of a loop");
    break;
    case TCL.CONTINUE:
    putLine(System.err,
    "invoked \"continue\" outside of a loop");
    break;
    default:
    putLine(System.err,
    "command returned bad code: " + code);
    sbuf.setLength(0); // empty the input buffer
    put(System.out, "% "); // put a command prompt
    } else {
    // We don't have a complete command yet. Print out a level 2
    // prompt message and wait for further inputs.
    put(System.out, " ");
    * getLine -- Gets a new line from System.in and put it in sbuf.
    private void getLine() {
    int availableBytes = -1;
    // Loop until user presses return or EOF is reached.
    char c2 = ' ';
    char c = ' ';
    while (availableBytes != 0) {
    try {
    int i = System.in.read();
    if (i == -1) {
    if (sbuf.length() == 0) {
    System.exit(0);
    } else {
    return;
    c = (char) i;
    availableBytes--;
    if (c == '\r') {
    i = System.in.read();
    if (i == -1) {
    if (sbuf.length() == 0) {
    System.exit(0);
    } else {
    return;
    c2 = (char) i;
    if (c2 == '\n') {
    c = c2;
    } else {
    sbuf.append(c);
    c = c2;
    } catch (IOException e) {
    // IOException shouldn't happen when reading from
    // System.in. The only exceptional state is the EOF event,
    // which is indicated by a return value of -1.
    e.printStackTrace();
    System.exit(0);
    sbuf.append(c);
    if (c == '\n') {
    return;
    * putLine -- Prints a string into the given channel with a trailing
    * carriage return.
    private void putLine (PrintStream chan, // The channel to print to.
    String s) // The string to print.
    chan.println(s);
    chan.flush();
    * put -- Prints a string into the given channel without a trailing
    * carriage return.
    private void put (PrintStream chan, // The channel to print to.
    String s) // The string to print.
    chan.print(s);
    chan.flush();
    } // end of class ConsoleThread
    * This class is used by the ConsoleThread to post a Tcl Event to the
    * Tcl interpreter's event queue. The processEvent method of this class
    * is then executed by the Tcl interpreter's event thread to call
    * the interpreter's method safely.
    class ConsoleEvent extends TclEvent {
    * The ConsoleThread that issued this event
    private ConsoleThread console;
    * ConsoleEvent -- Creates a new ConsoleEvent instance.
    ConsoleEvent(ConsoleThread consoleThread) // The thread that issued
    // this event
    console = consoleThread;
    * processEvent -- Process the console event. This method may freely call
    * any Tcl interpreter's method. It is safe.
    public int processEvent(int flags)
    console.safeEvalCommand(); // calls the console thread's method to
    // do the actual work
    return 1;
    } // end of ConsoleEvent

    Im not sure actually. Its some time since I used it. But if im not wrong it was included in the download at www.scriptics.com... I just checked http://sourceforge.net/projects/tcljava/ but there dosnt seem to be any downloads... only source.
    By the way - what are u going to use it for... Its a nice idea to attach a shell to some java prog. I could use some scripting ability with my current project. But I really hate the tcl syntax for java commands. I would prefer some java-shell with java syntax. Besides, going through tcl to execute java-statements seems stupid. Have u heard of something like a java-shell? Wondering if it would be possible to do it through reflextion. But guess ur more interested in running tcl scripts through ur java code. (but u dont need that shell interface for that, eg. ur code example).
    Stig.

  • Contract-first : WSDL vs Java interface

    Hello,
    I am starting to work with web Service.
    Many blogs and articles suggest to write WebServices contract from a WSDL.
    I am a java Programmer. I totally agree with the contract-first and the data-driven communication concept.
    Here is my question: why use WSDL when you can convert any Java Interface and Bean into a WebServices?
    If a tool gives you the possibility to move from xml to java (and vice-versa), why not stay with a java interface?
    What are the pitfalls of using this technique (other than being too easy to change the contract)?

    The main reason why you would want to write WSDL first is to be able to create a more verbose XML schema. For instance, if you take a raw Java interface or class and convert from Java to WSDL/XSD everything ends up being optional because the converters have no idea what is supposed to be required versus what isn't as well as field length restrictions etc. Some of the newer tools may allow you to do this with annotations but I haven't really looked into this.
    Writing the XML schema first allows you to offload more work on the XML parser at run time because it can do the schema validation for you instead of you having to manually perform this. This also allows someone writing their own client to consume the WSDL and be able to generate a client that will do more work than one based off of Java classes (e.g. someone creating a .NET client can let the XML parser do some heavy lifting during the marshalling process before ever sending the request to your web service).

  • TS1398 I am unable to connect wifi on my phone 4s since last 2 weeks... I am living in shanghai and did not have this issue since 2 weeks... iPad works fine... Please suggest some measures... Tried the on off reset settings etc.

    I am unable to connect wifi on my phone 4s since last 2 weeks... I am living in shanghai and did not have this issue since 2 weeks... iPad works fine... Please suggest some measures... Tried the on off reset settings etc. but no luck ...
    In fact after updating the software to the latest version I am having more of this... Sometimes the wifi button freezes an I can't even slide it to on / off...
    Thanks

    Noooo! Actually I too had d same prob wit my iPhone 4S. When I connect to my wifi network it won't get connected or it wil be grey scaled! I took it to d istore and since I had warranty they replaced my IPhone. It iPad charger has high volt than ur iPhone charger so when u connect wit it, there is a chance where large amount of current passes thru ur iPhone. So for sure it wil damage ur motherboard and its parts! Many said that iOS 6 or 6.0.1 or 6.1 was d reason for tis wifi prob! But apple never made its mistake wit it's software. If and only if u hav hardware prob u wil hav these sort of wifi prob Bluetooth prob! So best way s to replace ur iPhone!

  • Report Scripts - Please Can Some One Help Me

    Hello Gurus,
    Is it possible to display 2 members of the same dimension in adjacent columns using Report Scripts? if not what is the best available option?
    Consider this Sample Outline
    +Product
    +-Cofee
    +---Cafined
    +-------1100
    +-------1200
    +---Decafined
    +-------1300
    +-------1400
    +-Soda
    +---Coke
    +-------1500
    The format of the desired report is
    ======= Jan Feb Mar
    1100 Cofee 8 8 8
    1200 Cofee 8 8 8
    1300 Cofee 7 7 7
    1400 Cofee 7 7 7
    1500 Soda 6 6 6
    ================
    Please Can some one help me in this regard!
    Thanks In Advance

    If I remember correctly when I wanted to do something similar I imported the report with the level 0 members into SQL Server and then joined on a mapping table (was a parent/child table in our case) to get the other column. In our situation we already had the mapping table readily available because this is where the dimension was built from!

Maybe you are looking for

  • I have two apple Ids, one for the iTunes Store and one of iCloud.

    I need to be able to use the one that has my payment information to buy more iCloud storage, but don't know how to do this. I could also try to use the same payment info, but I can't, because the Apple Id I have for iCloud has a different country (Ec

  • How to solve error (-23) when updating my iPhone to iOS5?

    I was about to download the iOS5 on my iPhone but it kept on saying that there was a problem when downloading and "An unknown error occured (-23)". Can anyone help me? My iTunes and Mac's software are up to date.

  • Commulative On Hand Stock for same Items

    Dear All, I have a problem in On Hand Stock. My client have some items registered in Oracle with different code but these are alternate of each other, Stock of one item has zero quantity but the second item which is alternate has some quantity in it.

  • JUTreeBinding - navigation by findByKey() problem

    It will not be easy to provide a test case, so I hope that the following questions will clear things up for me. We have two trees. Both trees have the same structure. Both trees should act as navigation tool. This is done by using a TreeSelectionList

  • Download Link for Database 9i wrong

    Hi, I tried to download a trial version of Database 9i for windows server 2003, but the link only leads me to a patch for this (or maybe even another) version. Can someone please fix this link or give me a correct link? Here is the wrong link http://