Plugin-friendly Java applications

Hi all,
I have been trying to research making a web application that is mostly Java-driven that will be able to accept plug-ins that are written for it. Specifically it is written from appfuse, if that is of further help. Has anyone done something similar to this in Java and have any tips or helpful online resources on the subject? I'm having a really tough time finding assistance with this online, considering most sites are either advertising plug-ins or talking about making the plug-ins themselves for application X...not making application X :) Any assistance is greatly appreciated.
Thanks

Look at the Bean Object.

Similar Messages

  • Java application problem

    I am using JDK1.4 and working on Windows Xp.
    I have written a code for application in java as follows:
    import javax.swing.*;
    public class sample
    JPanel panel;
    static JFrame frame;
    JButton but;
    public sample()
    frame=new JFrame("frame");
    panel=new JPanel();
    frame.getContentPane().add(panel);
    but=new JButton("click");
    panel.add(but);
    public static void main(String args[])
    sample s=new sample();
    frame.setSize(300,300);
    frame.setVisible(true);
    on executing program application window has appeared and it ran properly.
    Then I closed that application window.But after that in command prompt window curser was just blinking and it was not allow to enter also.
    I have tried pressing CTRL+C also.But situation in command prompt was same i.e curser in command prompt was just blinking.
    Then I closed cmd window ;but one error has occured saying that cmd window can not close .
    My friend has told me that she is also having windows xp and JDK1.4 ; ctrl+c is working properly in her command prompt.She has written the above same code in her computer and it executes properly.
    Even though she has not written following statement:
    "frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);"
    when she exits from application window ,her cmd window gave same problem of only blinking curser.But when she press CTRL+C ; her command prompt starts responding by giving root.But my command prompt is not giving
    positive responce to "ctrl+c" when I am exiting java application.
    Is it possible to solve this problem without giving statement
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); ?
    Why my command prompt is not responding to CTRL+c?
    How can I tackle this problem ?
    Is there any other key which can be used in command prompt of Windows Xp?

    Is it possible to solve this problem without giving
    statement
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    ?this is because Swing have started some non-daemon helper threads for its internal purposes and the default close operation for frame is just HIDE_ON_CLOSE. So, the system will not exit because those non-daemon thread still not terminated.
    What is the problems setting the default close operation to JFrame.EXIT_ON_CLOSE ?

  • Auto print out report for java application

    <p>Hi, </p><p>Now i&#39;m using eclipse 3.2 to develop a java application and using crystal report to create report.</p><p>I would like to directly printing out the report from the java application.</p><p>what the installer or plugin i need?</p><p>What the setting i need to set? </p><p>Can you give me the sample coding to directly print out the report from java application by passing parameter?</p><p>Thanks,</p><p>Hui Bee</p>

    There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that helps you to achieve what you describe very easily.
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Particularly, see the <a href="http://www.mnsoft.org/boxinterfacedocs/com/bo/boxinterface/boreport/scheduler/BOReportSchedulerPrinter.html">BOReportSchedulerPrinter</a>. BOInterface comes with a complete example on scheduling to printer; that example can even itself be scheduled.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • How can i call a jasper report from a java Application

    Hi,
    i am chiranjit , currently i working in a web based ERP project, in this project as a report building tool we are using JasperReport wih eclipse plugin . in eclipse report's are generating very well but i am unable to call that report from a java application because i have no idea about the How to call a Jasper Report from a Java Application . so please send me the necessary class names, jar files names and programe code as early as possible.
    Chiranjit

    Ahh, kind of a duplicate thread:
    http://forums.java.sun.com/thread.jspa?threadID=631642
    @OP. You could have clarified your original post and the relationship of your question to java. You did not need a new thread.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do i run java application in IIS

    Hi,
    Can I run java application on IIS(Internet information Server)?
    If yes, How do i do that?
    My java application contains JSP,Servlets and EJB.
    To run java application on IIS which plug in should i use.
    Can anybody help me This is urgent...........
    Thanx

    Can i use EJB components in it?Yes, you can use EJB components. IIS uses Tomcat as a plugin and Tomcats feeds IIS with HTML code. Tomcat performes all the JAVA work including EJB. This links shows you how to install it:
    http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html
    Shoud be the same for version 4.1

  • How to disable my java application after a few days

    I have a java application as a MyApplication.jar file. On clicking this .jar my application starts. I want to distribute this jar to my friends so that they can run the application and use it. However, I want my application to run only for a few days. The jar should become unusable after say 10 days and no one (including the people holding the jar) should be able to execute it.

    >
    ...I want to distribute this jar to my friends so that they can run the application and use it. However, I want my application to run only for a few days. >Just a wild guess. You don't have many friends*, do you?
    In any case, the usual way to approach this task is to write a key to the system that contains the first date the software was run, then check it each subsequent launch. If the 'first date' + 'allowable days' is before 'today', pop a message telling the user that the software has expired.
    As to how/where to store this information..
    You might use the Properties class to read/write the date property.
    Problems with this approach are
    a) Users adjusting their system clock to a previous date to get software to work again.
    b) Users finding and deleting the file containing the 'first date' property.
    c) Users leaving the software running for 173 consecutive days.
    d) * Users hating the software so much that they come and burn your house down.
    ( That last one is the real worry. ;)

  • Java application -- webservice ---   XI  ( RFC )  ?

    Hi friends ,
                <b>        My scenario is like I want  via web service  I need to pass request to RFC and get the response back . This calling webservice is external java application .</b>
                       Can u please tell me What steps i  have to do in XI  ?
                       I have to do synchronous Interface between RFC and webservice right ?
                       <b>First I have done  this scenario  by  designing IR  and in Configuration I have used SOAP Sender and RFC Receiver adapter .  Using Synchronous Interface</b>
                       Using Tools -- > Define WebService . I have Defined that   as WebService . I has creatd the WSDL File for me.
                       I have  given the SWDL file and the URL like the following
      http://xidev:8021/XISOAPAdapter/MessageServlet?channel=:BS_DISTANCE_CHECK_SOAP:CC_DistanceCheck_SOAP_Sender
                            If i copy and paste this URL in my pc .It is showing the Message Servlet  Status OK . and some informations also it is giving .
                      But the java guys try to use this URL in their web service calling module it is not working .
            <b>          The way what i have done is corret ?</b>  or something i have to do ? 
                   <b>   What input i have to give to Java Guys to call the webservice ?</b>
                           Can you please give your suggestions asap
    Best Regards .,.
    V.Rangarajan

    Hi Bhavesh  ,
                      Thanks for your reply.
                   Then  that URL and WSDL File  Which i have given to the Java guys is  enough ?
                    I  have one doubt .I don't know  much about  the webservices .
                    Don't we need SOAP Receiver Adapter for this ?
                    How the external application will get back the result ?
    Best Regards .,
    V.Rangarajan

  • Error when embedding the plugin inside java

    I have IE wrapped inside java, and when IE loads a page with java, I get the error message "Attachment to a running Virtual Machine failed." I guess the plugin gets confused by the allready running VM.
    Do I need to supply some hooks for the plugin?
    My code is a http://nothome.com/IEcanvas/

    My organization is also trying to embed IE 6.0 inside of a Java application using the IECanvas code, http://www.nothome.com/IECanvas/. That code was derived from work done at The Code Project, http://www.codeproject.com/java/javacom.asp.
    We are attempting to use the Java 1.4 release candidate with this code. Everything seems to work well, until IE attempts to load a Web page that has an imbedded Java applet that requires the Java Plugin. We have insured that IE is calling the exact same version of Java, version 1.4, when loading the plugin. Unfortunately, when the Java plugin starts loading, the error "Attachment to a running Virtual Machine failed" is presented in a dialog box titled "Java(TM) Plug-in 1.4 Fatal Error".
    After this IE asks if the user wishes to install the Java 1.4 plugin. Essentially, no Java 2 applets will work in IE once it is embedded in our Java application.
    I have done some research, and discovered that it should be possible to run more than one instance of the Java Virtual Machine in the same process space. I would like it if someone knows how to force the Java plugin to start a new Virtual Machine instance instead of trying to connect the the already running instance in the encompassing Java application.
    Thanks!
    Warren

  • Can we call a webservice  using standalone java application  ?

    Hi friends,
                   Can we call configurd webservice in xi , using standalone java application by just giving url of webservice ?
                  OR
                  Only by means of WEBDynapro we can call  ?
                    Can you please tell me the answer for this .
    Regards .,
    V.Rangarajan

    HI Ranga Rajan
    well, If at all if you have webservice...you can import that werbserivce as External definition in to IR.
    How to import:
    1) Go to IR and and move to your requied component and there you can see the option called imported objects...select on imported objects where you can give the name and you can select the webservices which you want to use it.
    2) Hope you are aware of that a werbservice will have the request and response.
    3) Create the mapping program accroding to your requirement.
    Go through blogs of Bhavesh and Naveen which talks about calling webservice in a specific condition:
    Webservice Calls From a User Defined Function - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    Consuming/Calling webservices from DataBases - /people/sap.user72/blog/2005/10/20/consumingcalling-webservices-from-databases
    Also check this help file on Web Services:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • Can we wrap a RFC as webservice  and use from external java application ?

    Hi Friends ,
                         Our scenario is  call a webservice ( wrapped form of RFC)  from a external  java application  which will pass the input to that webservice and get back the result  .
                          How XI will play a role here ?
                          Can we wrap a rfc as web service  ?
                           Any blogs for that ?
                          Can you please give a brief details about this ?
                          Expecting yoour asap
    Best Regards .,
    V.Rangarajan

    Hi
    Can we wrap a rfc as web service ?
    Yes.
    <i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
    How XI will play a role here ?
    XI will pass the input to the external java application and get back the result to the webservice
    regards
    krishna

  • How to assign the Thems into Webdynpro Java Application

    HI All,
                   I Downloaded the plugin for them editor and i add those plugins and i created the Them. Please any one can help me how to add that Them into Webdynpro java application.

    Hi ep bhargav,
    You can check this link.....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
    Re: webdynpro theme editor
    Thanks.
    Venkat.

  • How to download IMExample java application??

    Hi all,
    I need to research Multimedia database in Oracle. I tried to find and to download IMExample Java application. but I don't know where I can find the IMExample in Oracle database.
    Please, any one can help me where I can download IMExample Java application ???
    Thanks alot !!

    Hi
    I have such problem
    I must make database which store monkey's audio audio file (*.ape)
    but Intermedia support only such file:
    # This file controls what MIME types are sent to the client for the
    # given file extensions. Sending the correct MIME type to the client
    # is important so they know how to handle the content of the file.
    # Extra types can either be added here or by using an AddType directive
    # in your config files. For more information about MIME types
    # please read RFC 2045, 2046, 2047, 2048, and 2077.
    # MIME type               Extension
    application/activemessage
    application/andrew-inset
    application/applefile
    application/atomicmail
    application/dca-rft
    application/dec-dx
    application/mac-binhex40     hqx
    application/mac-compactpro     cpt
    application/macwriteii
    application/msword          doc
    application/news-message-id
    application/news-transmission
    application/octet-stream     bin dms lha lzh exe class
    application/oda               oda
    application/pdf               pdf
    application/postscript          ai eps ps
    application/powerpoint          ppt
    application/remote-printing
    application/rtf               rtf
    application/slate
    application/smil          smi smil sml
    application/wita
    application/wordperfect5.1
    application/x-bcpio          bcpio
    application/x-cdlink          vcd
    application/x-compress
    application/x-cpio          cpio
    application/x-csh          csh
    application/x-director          dcr dir dxr
    application/x-dvi          dvi
    application/x-gtar          gtar
    application/x-gzip
    application/x-hdf          hdf
    application/x-javascript     js
    application/x-koan          skp skd skt skm
    application/x-latex          latex
    application/x-mif          mif
    application/x-netcdf          nc cdf
    application/x-sh          sh
    application/x-shar          shar
    application/x-stuffit          sit
    application/x-sv4cpio          sv4cpio
    application/x-sv4crc          sv4crc
    application/x-tar          tar
    application/x-tcl          tcl
    application/x-tex          tex
    application/x-texinfo          texinfo texi
    application/x-troff          t tr roff
    application/x-troff-man          man
    application/x-troff-me          me
    application/x-troff-ms          ms
    application/x-ustar          ustar
    application/x-vnd.realmedia rm
    application/x-vnd.realtext rt
    application/x-wais-source     src
    application/zip               zip
    audio/basic               au snd
    audio/midi               mid midi kar
    audio/x-mpeg               mpga mp2 mp3
    audio/x-aiff               aif aiff aifc
    audio/x-pn-realaudio          ram
    audio/x-pn-realaudio-plugin     rpm
    audio/x-realaudio          ra
    audio/x-wav               wav
    audio/x-ms-wma               wma
    audio/x-ms-wax               wax
    chemical/x-pdb               pdb xyz
    image/bmp bmp
    image/gif               gif
    image/ief               ief
    image/jpeg               jpeg jpg jpe
    image/pict pict pct
    image/png               png
    image/tiff               tiff tif
    image/x-cmu-raster          ras
    image/x-portable-anymap          pnm
    image/x-portable-bitmap          pbm
    image/x-portable-graymap     pgm
    image/x-portable-pixmap          ppm
    image/x-rgb               rgb
    image/x-xbitmap               xbm
    image/x-xpixmap               xpm
    image/x-xwindowdump          xwd
    message/external-body
    message/news
    message/partial
    message/rfc822
    model/iges               igs iges
    model/vrml               wrl vrml
    model/mesh               msh mesh silo
    multipart/alternative
    multipart/appledouble
    multipart/digest
    multipart/mixed
    multipart/parallel
    text/css               css
    text/html               html htm
    text/plain               txt
    text/richtext               rtx
    text/tab-separated-values     tsv
    text/x-setext               etx
    text/x-sgml               sgml sgm
    text/xml               xml dtd
    video/mp4 mp4
    video/3gpp 3gp
    video/mpeg               mpeg mpg mpe
    video/quicktime               qt mov
    video/x-msvideo               avi
    video/x-ms-asf               asf asx
    video/x-ms-wmv               wmv
    video/x-ms-wvx               wvx
    video/x-sgi-movie          movie
    x-conference/x-cooltalk          ice
    There is no ape file, how can I add the new format *.ape
    "Extra types can either be added here or by using an AddType directive" ??? how can I do it ?
    Thanks

  • How connect an HTML page to a running Java Application?

    Hi,
    Exists a way to connect an HTML page to a running Java Application?
    the idea is, If we use SWT, the Browser widget have an instance of IE/Firefox attached to it, and we load local HTML pages inside, then i wish to have a way to bridge Java Application from HTML page. Then with that we can do follow JScript:
    var javaApp = document.getJavaApplication(); //here is the trick
    //below is like we do today with applets
    var person = container.create("myapp.Person");
    person.setName("Test");
    container.save(person);its great if we can Have an attribute for object tag or anything to conect HTML page to Java Application.

    I think that the better idea is to create a new mime type for that, maybe "application/x-java-connect-to-local-jvm", and use embed tag, to connect via plugin to a running JavaApp
    example:
    <embed type="application/x-java-connect-to-local-jvm" width="20" height="20" mainClass="mypackage.AppName"><br>
    <script>
    var javaApp = document.embeds[0];
    function createPerson()
      var person = javaApp.getNew("mypackage.Person");
      person.setName("test");
      javaApp.save(person);
    }The width and height, isnt necessary, but the view can be used to show red if connection failed and green for sucessfull connections, or maybe embed tag can have src to images for sucessfull and unsucessfull states.
    That's the idea, there is a way to extend Java Plugin to achieve that?
    any tip or idea or to achieve that, are welcome.
    Thanks

  • Tutorial to use  JFreeChart in Java Application

    Dear Friends,
    Can anyone Please help me to provide a complete tutorial on using JFreeChart in Java Applicaion.That is, How can I use JFreeChart in Java Application.
    Thank u.

    http://www.jfree.org/jfreechart/devguide.html

  • Appying theme for Webdynpro java application.

    Hi Friends,
    I have change the font size and the content area of my WebDynpro java application which is a Standard Business package.
    I have already applied the theme in the visual admin,but when I make the changes to the theme it does not reflect on the application part.
    Please also let me know which specific theme values are to be changed.
    Request for all your inputs and solutions.
    Thanks,
    Shyam

    iViews used for application integration have a property called (technical name: LAF_Switch) like Send portal theme. This parameter defines if the portal will send to portal's style sheet definition. If so, the WDJ application will decide on some rules if or not to use the portal theme.
    [The SAP Note 1000889|https://service.sap.com/sap/support/notes/1000889] explains how a WD application decides whether to apply the portal theme or not. The note also gives you some hints to find out why the portal theme isn't getting applied.
    br,
    Tobias

Maybe you are looking for

  • Highlighting text in pages

    I used to have a "a" icon available to back highlight text.  Recently, it disappeared.  The only highlighting alternative I get is "none".  What can I do to fix this?

  • Moving multiple symbols "breaks" motion tweens

    I'm working on a character rotation in Flash CS 5.5 that leads into a basic walk cycle using all motion tweens. The tutorial I'm following (which only uses classic tweens) says to grab all the upper body symbols with free transform and rotate them fo

  • The most frequent site is not at top of list on location bar dropdown in 10.0.2

    Previous version ordered the drop down history on locator bar by frequency of use. This meant my most commonly visited site was at top of list and I used that to select my site. Now it's halfway down the history list and more inconvenient to access.

  • Error When i run Rwserver

    Hello guys .. am runing oracle database server and developer suite 10g R2 when i try to configer my rwserver for created a report server service it appear a msg that tell " PLEASE CONSULT THe INSTALLATION GUIDE FOR HOW TO SETUP AND RUN THIS PROGRAM "

  • Capture Signature from PDA or digital Pen with Flex

    Hi All, I am creating an application in which there is a requirement to capture signature that will be done with PDA or digital pen. There will be a form which will be accessed in PDA and it will be signed by a person. I need to capture that signatur