Java application for dedicated appliance

Hi
I am looking for some advice on how to turn a Linux based system into an appliance dedicated to running a single GUI application.
We are trying to develop a system where the Linux must boot into the application, and shutdown when the user leaves the application. At no point must the user be aware that there is an underlying OS desktop.
Is this possible in Java using Swing?
Thanks

It sounds like he wants a full screen application that gives the illusion that there is no underlaying OS running.
For example, something like an ATM or Slot Machine.

Similar Messages

  • Developing Java application for windows CE based Handheld device

    Hi everybody,
    I am planning to develop the java application for windows CE
    based handheld device.I came to know that Oracle 9iLite supports
    the Developement of Java Application for windows CE devices.Can
    i use the JDeveloper IDE to develop the application on windows
    NT.If so how to deploy the application on windows CE device(Is
    there any options in Jdeveloper to deploy the application).Any
    body please give the solution.
    Regards,
    Siva mani kumar.D

    I agree. In my opinion Sun has done a horrible job documenting all this madness for the average developer just starting out with this stuff. There is the CLDC, J2ME, Personal Java, J2ME-WTK, MIDP, MIDP-FCS ... maddness. Anyway after sorting through it all for a few days, I think the answer to your question you will need to use Personal Java for WinCE and the Sharp Zaurus, and MIDP for PalmOS for the palm. Jeode seems to be the most common and best Personal Java implementation and it is basically the JDK1.2.2 (or is it 1.1.8) that is designed to run on WinCE and Embeddix (such as Lineo on the Zaurus). You program it just like you would a 1.1.8 application and then you can test it by running pjava.exe which is included in the personal java 3.1 download from Sun. There is also a program called JavaCheck that will ensure that your app will run properly in PersonalJava. As for the Palm, MIDP for PalmOS is a 574K program that installs on your palm device. You then use the J2ME-WTK (wireless toolkit) to build a JAR/JAD file and you use the MIDP API to write the code.

  • Developing Java Applications for Windows CE

    Hello,
    I hope this sub forum is right. So I must develop a Java Application for Windows CE. I read something about J2ME, but I think this is only for Mobilephone and Windows CE supports AWT. So I tried just some simple forms with J2ME.
    Can anybody tell me how I develop java Applications for Windows CE? Can I use Eclipse or must I use another IDE?
    Realy I developed Swing 5-6 Month but I have no idea how I develop Java Applications for Windows CE.
    Thanks a lot for helping...

    The MIDP for Palm OS 1.0 requires Palm OS v3.5 or higher to run. According to your error message, the emulator is not running v3.5 or higher. Try to get hold of a ROM image with a later version. I've run it with v4.0 of the OS and it works.

  • Is there any possibility to develope java application for IPhones

    Is there any possibility to develope java application for IPhones

    921326 wrote:
    Just look to the next thread!I did that after I replied to the last person to ask this question. I spotted this thread:
    Developing iPhone apps with JavaFX 2 (Demo)
    Not much there, but apparently people are trying to hack it together using JavaFX 2 already. I believe I read an article where Oracle itself had given a presentation about a JavaFX2 app on an iPhone; I believe the gist of it is that they want to make it so you can bundle the Java runtime with your application, which makes it legal to sell a Java application through the appstore.

  • Trying to do the simple HelloWorld java application for portal

    Hi:
    i've been trying to do the simple java application HelloWorld so that i can get a view of how will it be to integrate a pure java application that we have in a later step. The fact is that i've been following "how to build a java portlet" and "packaging and deploying your provider" documents.
    i've taken the code from that document:
    public class HelloWorldApp {
    public static void main (string[] args){
    //Display "Hello World!"
    System.out.println("Hello World!");
    That's my java code. (in fact i want to do this as a trial, 'cause later i will
    do the same with a java application of our own).
    So i compiled it, taken the .class, jar it and packaged it as told in the
    second document.
    I've deployed it in OC4J_portal and when i try to access the URL i get an
    error:
    500 Internal Server Error
    java.lang.NoSuchMethodException
         at java.lang.Class.getMethod0(Native Method)
         at java.lang.Class.getMethod(Class.java:888)
         at oracle.portal.provider.v2.render.http.JavaRenderer.postInitialize(Unknown Source)
         at oracle.portal.utils.xml.v2.DefaultNodeHandler.invokePostInitialize(Unknown Source)
         at oracle.portal.utils.xml.v2.DefaultNodeHandler.processNode(Unknown Source)
         at oracle.portal.utils.xml.v2.DefaultNodeHandler.processNode(Unknown Source)
         at oracle.portal.utils.xml.v2.DefaultNodeHandler.processNode(Unknown Source)
         at oracle.portal.provider.v2.http.DefaultProviderLoader.getProviderDefinition(Unknown Source)
         at oracle.portal.provider.v2.http.DefaultProviderLoader.init(Unknown Source)
         at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.init(Unknown Source)
         at oracle.webdb.provider.v2.utils.soap.SOAPProcessor.locateService(Unknown Source)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
         at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    does anybody know how to solve this problem?
    Thx.
    Regards. Urko.

    Hi Urko,
    Such an application as you have quoted will not have much luck as a Portlet - the code you supplied simply writes "Hello World" to standard out!
    Think of a portlet more like a servlet - you have an output stream to write to which, under the covers, is wired back up to the Portal Server which assembles the content into the page seen in the browser.
    Take a look at the extensive range of sample Java Portlets available with the PDK download.
    Anyway, from the stack trace it looks like you're using JavaRenderer. JavaRenderer invokes an arbitrarily named method on an arbitrary class **provided** that method takes a single argument of type PortletRenderRequest. So you would need something like:-
    public class MyApp
    // A bunch of app-specific code.
    public void renderPortlet(PortletRenderRequest pr)
    PrintWriter out = pr.getWriter();
    out.println("<b>Hello World</b>");
    Then, the relevant provider.xml section would look something like this....
    <showPage class="oracle.portal.provider.v2.render.http.JavaRenderer>
    <className>MyApp</className>
    <renderMethod>renderPortlet</renderMethod>
    </showPage>
    Hope this helps.....
    Regards,
    Gareth
    PDK-Java Development Team

  • How to make installer of my java application for linux

    I want to make an installer for my java application, I am using Install any where trial version its create an installer but when i installed n execute it, it display that
    "unable to locate main class, class must be public n having a public static void main(....) LAX."
    while making the installer I specifically mention the main class.....
    I tried a lot but getting same error again n again,
    Any one has any idea, what went wrong or what should I do to make Installer by using any good tool.
    Thanks for every Thing.

    After making the installar using InstallAnywhere, when i run the installer it shows the following error....
    Unable to locate the application's 'main' class. The class 'wekna.gui.explorer.LoginScreen' must be public and have a 'public static void main(String[])' method. (LAX)
    Unable to Launch Java Application: Unable to locate the application's 'main' class. The class 'weka.gui.explorer.LoginScreen' must be public and have a 'public static void main(String[])' method. (LAX)
    my main class has syntax public static void main(...) because otherwise java will generate error,
    my application is running well with make file but I want to make an installer......

  • Java application for Digital TV

    Hello
    i would like to start making application for digital TV:
    my idea is to implement an easy to use email service.
    What kind of tools do i need to implement difital TV application in java?`
    What kind of TV should i use?
    how much does it cost...?
    do you know some good tutorial?
    Do i need to buy a digital TV or there are some PcCsimulation available?
    thanks a lot
    sebastien

    XleTView is probably the easiest place to get started with building applications - this will run on your PC and let you develop some basic xlets. There are other threads active in this forum about STBs, so I won't cover the same information here. Just remember that a developer STB is not the same as a normal consumer STB, and will cost a lot more.
    My website (http://www.interactivetvweb.org) is probably a decent place to start learning about what is involved in developing xlets. I'll be on vacation for a couple of weeks from tomorrow, so I won't be able to answer any questions about anything you read there. There are plent of other smart people here who can help you, though.
    Steve.

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • How to deploy the custom java application for self regaistration in portal?

    hi,
    I have created a custom java application in NWDS for Self Registration of new users.I am working on EP 7.02 and the standard self registration application is a Web dynpro java application.
    How can i deploy my custom java application built as a par file in place of the Web dynpro java application?
    Thanks,

    Hi Amarys,
    If you have developed the PAR file in NWDS then you can deploy the PAR in the server with NWDS ( [Check Required Settings |NWDS 7.0 does not deploy PAR;) or in server directly (system administrator > support >> portal runtime >> administration console)
    Best Regards
    Arun Jaiswal

  • Java application for hp ipaq h4350

    Hi,
    I am new to J2ME and I need to develop a small application for hp ipaq h4350. Is there anyone who can tell me from where I have to start? Actually I do not know what type of api's are available for hp ipaq h4350.
    Regards,
    Farooq

    This site has a lot of useful information:
    http://blog.vikdavid.com/2004/12/java_on_pocketp.html

  • Java Application for submission message in multiple forum at a time

    Hello,
    I want to build a Java desktop application by which I can be able to submit any message to my desired forum without login into the forum website. My application will be able to send the same message to as many forum I specify.
    I have not yet started to work on it. So, I need ideas regarding the following topics-
    1. Is the message we submit in any forum same to any mail we generally use for email? if yes, hoe can I understand what protocol(SMTP, POP3, IMAP) is used in any website? If no, what is that kind of mailing for posting message in a forum and where is it stored?
    2. What should be my steps for building such application?
    3. Is there any Java API / technology that can help me?
    If you have done something like my project, please provide me some code for starting. And, please help me on this regard with your ideas.
    With Thanks-
    aynhq

    aynhq wrote:
    Hello,
    With a grateful heart I would say, I thank you for your mmessages. But, You have taken the problem I specified as an evil concept.
    Here I should mention that I have registration with more than one hundred forums. I have premium membership and secured password. In those forums I usually submit my writing for the other member in those forum.
    Sometimes I need to submit same writings to all the forum. And I manually enter into those websites using my username & password and then submit the writings. You must admit it is a time consuming process. So, I want to develop this programm that would help me to send messages using my username and password. In fact necessity is the mother of invention.
    One thing must be mentioned here that I don't have intension to use this program as a spam or something you are thinking of. Any way, if you don't understand my goal please ask me. But I need help on this concept. Better you suggest me some way how to solve my problem.
    With Thanks-
    aynhqYou sound like a parrot.
    Now go away.

  • Java application for PDA

    Hi,
    Can you recommend which is the best PDA (or graphic tablet) for Java development.
    I need to develop a simple application : a data entry form to be filled in. The form does not really require keyboard input, just options to be ticked.
    I thought this could be developed as a Java Interface.
    I was also considering a graphic tablet for this application because the screen space is bigger.
    I’d be very grateful for any suggestions or tips of what my best options would be.
    Is there a more specialized forum for this subject (I haven’t been able to find one)?
    Thanks very much

    a better question is: which PDA has a decent JVM installed. There are not many. I would consider .NET mobile if I were you, combined with a Windows Mobile 5+ PDA. You'll have far less head aches.

  • Developing java application for your client

    as a java programmer who want to develop a software for his client.After the java code and compiling it and running it on ur system,how do i package it for the client so that the software would have been in its programme file instead of the client running it through ms dos for him to use the software

    Iam using Advance Installer. U can package ur application using this installer. Create a folder and copy ur lib and jar files into that. follow the installation steps. u can even include jre folder while packaging cos ur application will run even if ur client doesnt have jre installed in his system. well only thru this forum i came to know about Advance installer. u just give the setup file to ur client.
    regards

  • Connection Pooling in Java Application for interacting with Websphere MQ

    I have following infrastruture at my site.
    1> Machine #1 has below
    - Websphere MQSeries 6.0 (client setup - Slim Client)
    - OS = Windows 2003
    - i/p address : 10.1.11.10
    - Tomcat web server 5.5
    - No Websphere Application Server.
    2> Machine #2 has below
    - Websphere MQSeries 6.0 (Server setup)
    - OS = Windows 2003
    - i/p address : 10.1.11.21
    - Queue Manager Name : qMngr
    - Queue Name (client will put the message) : toServerQ
    - Queue Name (client will get the message) : fromServerQ
    - I have developed the web application in Tomcat web server 5.5 using MQ base classes for accessing the Websphere MQ.
    - Since it is web application there can be atleast 25 request at time.
    i.e. when client#1 request data from queue he must get data related to client#1 only not other than client#1.
    - For accessing the websphere MQ, I am using websphere MQ base classes in Client mode. (Not JMS)
    ==>>>> Source Code as follows
    Class MQInterface (Servlet) is used for getting the web request from user and reply the response in html format.
    public class MQInterface extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    String Output = "";
    System.out.println("!! Entered into Banking Servlet !!");
    String requestParam = request.getParameter("OPRN_CODE");
    if (requestParam.equalsIgnoreCase("GET_NAME_DETAIL")){
         String id = request.getParameter("id");
         Output = MQDataObject().getNameDetail(id);
    return Output;
    response.setContentType("text/html");
         PrintWriter out = response.getWriter();
    out.println(Output);
    Class MQDataObject is used for getting and putting data(message) into Websphere MQ.
    public class MQDataObject {
    private String hostname = "10.1.11.21";
    private String channel = "Chnl1";
    private String qManager = "qMngr1";
    private MQQueueManager qMgr;
    private ISISSSLAdaptor ssl;
    private ISISConfigHelper ConfigHelper;
    private String Output;
    public MQDataObject(){
    MQEnvironment.hostname = hostname;
    MQEnvironment.channel = channel;
    MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY,MQC.TRANSPORT_MQSERIES_CLIENT);
    MQEnvironment.sslCipherSuite = "SSL_RER_WERH_3KIUD_EQW_CRT_SSA";
    try{
    ssl = new DEMOSSLAdaptor("DEMOSSLAdaptor.config");
    ConfigHelper = new ISISConfigHelper("MQConnection.config");
    }catch(Exception exception){
    System.out.println("Exception Details => " + exception);
    public String getNameDetail(String sendMessage){
    MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY,MQC.TRANSPORT_MQSERIES_CLIENT);
         String msgText = "";
         try
    // Create a connection to the Queue Manager.
    qMgr = new MQQueueManager(qManager);
    // Set up the options on the queue we wish to open
    int openOutOptions = MQC.MQOO_OUTPUT;
    // Specify the queue to open and open option      
    MQQueue sendingQueue = qMgr.accessQueue("toServerQ",openOutOptions,null,null,null);
    // Define the MQ message and write some text in UTF format
    MQMessage sendingMessage = new MQMessage();
    sendingMessage.writeUTF(sendMessage);
    // Specify the message options..
    MQPutMessageOptions pmo = new MQPutMessageOptions();
    // Put message on the queue
    sendingQueue.put(sendingMessage,pmo);      
    // Close Sending Queue
    sendingQueue.close();          
    // Receiving the message back
    // Wait for 5 seconds to get reply from receiving queue
    Thread.sleep(5000);
    // Set up the options on receiving queue we wish to open
    int openInOptions = MQC.MQOO_INPUT_AS_Q_DEF | MQC.MQOO_OUTPUT;
    MQQueue receivingQueue = qMgr.accessQueue("fromServerQ",openInOptions,null,null,null);
    MQMessage receivingMessage = new MQMessage();
    // Set and Get the message options
    MQGetMessageOptions gmo = new MQGetMessageOptions();
    // Receiving the message off the queue.
    receivingQueue.get(receivingMessage,gmo);
    // Get the message from the receiving queue.
    msgText = receivingMessage.readStringOfByteLength(receivingMessage.getMessageLength());
    // Close Receiving Queue
    receivingQueue.close();
    // Close a connection to the Queue Manager.
    qMgr.disconnect();
    // Parse the received message using parser.
    String output = new IFXXMLParser().runExample(msgText);
    catch (MQException mqex){
    System.out.println("MQ Error : " + mqex);
    catch (Exception ex){
    System.out.println("General Error : " + ex);
    return Output;
    The message for sending the receiving is in XML format.
    Could any one help me following in questions.
    1> Since there is 30 request at time so for improve the performance and resources I need to do connection pooling.
    How can I achieve this using base classes.
    2> While retrieving (getting) the message for particular request how can I identify the response message.
    i.e. when client#1 request data from queue he must get data related to client#1 only not other than client#1.      
    because In above scenario there are separate queues for getting the message and putting the message.
    I have read the tutorial on connection pulling but I am little confused.
    i.e. default connection pool and MQSimpleConnectionManager.
    Thanking in Advance
    Sanjeev

    RahulSharna wrote:
    Well my advice would be something different here..
    Can you tell us whether the swing application that you are referring could be used by multiple client machines at the sametime ??
    If yes my advice for you would be a costly affair yet effective.
    Think of seperating your DAO layer from the swing client and you can make an attempt to make a centralized tier where DAO and business services are handled (also ensure that we you use connection pooling with a good tranaction support for building that tier).
    Think of publishing those as services either by using remoting tehnologies like RMI,Burlap, Hessian or as a Webservice.
    All you'd do is implementing respective client in the swing or client application which you are referring to..
    (if you things are too wierd and what is the best solution to go about the below url offers a good solution
    [http://tuscany.apache.org/]
    And in doing this you'd ensure there is not toomuch load on the Database and you'd have a centralized location where you can start tracing the problem.My guess would be that since the OP said that they have a server that they do in fact have a server.

  • How to compile my java application for Personal Java??

    i write a simple program and want to run it in PJEE.
    program is:
    import java.awt.*;
    public class TestApp {
    public static void main(String[] args) {
    Frame f = new Frame();
    f.pack();
    f.setSize(300,300);
    f.show();
    and i compiled it using JDK1.4
    javac TestApp.javathen i want to test it by using pjava
    pjava TestAppbut i got a error message:
    Error loading class TestApp: Bad major version numberplease tell me what it is mean and how i can debug it, thanks.

    hi, all
    i have resolved my question by myself.
    because:
    |-> personal java
    |
    jdk1.1 -> jdk1.2 -> jdk1.4
    so, i must compile the java file by using jdk1.1.x
    :)

Maybe you are looking for

  • Mail Message List Font in Preferences doesn't Work

    I have just upgraded from Snow Leopard to Mountain Lion and am trying out the new features. In Mail - which I think captures all of my email even though I am on iCloud - I can't seem to get the font on the Message List (on the left where it lists all

  • Audio tracks not playing

    A really odd thing keeps happening to me. When I open my Logic projects it often doesn't play all the audio tracks. If I double-click a region and open it in sample editor I can play it from there but still it doesn't play the track in arrange. And t

  • Error when installing device drivers with 8.2 update

    I get the following error when I try to install the updated drivers on the device driver CD set (this is when I first insert CD 1 and click install drivers).  I discovered this error when I was installing labview 8.2 and when I was installing it said

  • Creative Cloud Menu does not show installed Lightroom App

    I'm wondering if there is something I can do to fix the problem.  Lightroom does work as long as I dig through menus to find it.

  • Creating list from a matrix using pig

    I am new to Pig. Could somebody point me how this can be done ? I have a text file containing adjacency matrix: * x1 x2 x3 x4 x5 x1 0 1 0 1 1 x2 0 0 0 1 0 x3 0 0 0 0 1 x4 0 0 0 0 0 x5 0 1 0 0 0 I want to create adjacency list from this matrix which s