Java Challenges

Hi All:
This is the error message I receive when running a test on my Java install, has anyone experienced this and if so what is the procedure to fix.
Runing Windows XP Professional Service Pack 2 (build 2600) With all of the updates Using Fire Fox Browser 1.0.6.
I get this error in safe mode and with all extensions disabled
Have checked for virus and am virus, spy ware, male ware free.
load: class jreCheck.class not found.
java.lang.ClassNotFoundException: jreCheck.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
load: class jreCheck.class not found.
java.lang.ClassNotFoundException: jreCheck.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-21" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This shows that my browser thinks Java is installed. I would be very thankful for any assistance in this matter. As A side noteI get the same results in IE

Hi, I have the same problem I don't lnow what to do.. I also have windows service pack 2 and I don't have viruses
My Java console says this:
load: class jreCheck.class not found.
java.lang.ClassNotFoundException: jreCheck.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletException(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-jreCheck.class" java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletException(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
load: class jreCheck.class not found.
java.lang.ClassNotFoundException: jreCheck.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
Exception in thread "Thread-8" java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletException(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-jreCheck.class" java.lang.NullPointerException
     at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
     at sun.plugin.AppletViewer.showAppletException(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Please help me
Thanks

Similar Messages

  • Java challenge !! Very hard !! Find mines

    Hi !!! I'm new in here !! So, here is the challenge. My teacher passed to the class a challenge that you need to create a game that a robot finds mines in an unknow field. But rules must be follwed. Here's the rules:
    1 - The java game must read a .txt file (example.txt) with the informations about the field and the robot must find all mines. But he don't need come back to the origin. He starts to looking in columm 1, line 1.
    2 - The matrix (filed) shows 3 separate values:
    0 - free position
    1- barrier
    * - mine
    3 - The objetive is to find all mines with less cost (steps). Every time that the robot passes through a 0 position, he pays with one point of penalty, and every time that the robot finds a mine, he wins 10 points.
    4 - Every .txt file which is read, at the end, needs generate a new .txt file with the number of steps that the robot did and the total of points. Wins who find all mines with less steps.
    example.txt
    5 > size of matrix, alaways square (5x5, 3x3, 2x2)
    3 > total of mines
    0 0 1 0 0 \
    1 0 1 * 1 \
    * 0 0 0 0 > matrix with informations.
    0 1 0 1 * /
    1 0 0 1 0 /
    Good luck.
    PS: The best search algorithm will win.
    My group was the only of the class that made this challenge, I would compare to other ideas.
    Thx for all java fans !!

    rafac2 wrote:
    Hi !! its not a homework, its a challange, a made after two weeks with my group (4 persons). and i thought interesting sharing because its not a ordinary work. Allright, friday I will take with my friend and post. But please, not imitate when you post yours. I wanna see a idea different. Please, try not to judge before the facts. thxIn case I (and others) have misjudged you, let me explain why people are being so mean. There are a number of posts where people try to get the forum member to do their work for them. Your post looks very much like one of them.
    I offered the previous statement because you have not gone crazy and started posting complete nonsense, and it is at least possible that your story is true.

  • Running Java.exe from VBScript

    I have a program that starts via a java command. If I look at the properties for the shortcut, it has?
    Target Type: Application
    Target Location: bin
    Target: "C:\Program Files\CBS\CBPay\javaRt\bin\java.exe" -Derrors com.cbsgame.cbPlus.CBPlus -ms16777216 -mx268435456
    Start In: ?C:\Program Files\CBS\CBPay?
    If I run the application via this shortcut, it runs fine. I need to run it via vbscript. I am using the below syntax?
    Set RegObj = WScript.CreateObject("WScript.Shell")
    appName = """C:\Program Files\CBS\CBPay\javaRt\bin\java.exe"" -Derrors com.cbsgame.cbPlus.CBPlus -ms16777216 -mx268435456"
    MsgBox appName
    RegObj.Run appName
    When I run it, the command prompt screen flashes and nothing happens. If I change the java.exe to javaw.exe, it gives me ?Could not find the main class. Program will exit.? I have tried adding ?-cp c:\Program Files\CBS\CBPay? and it still doesn?t work. I tried removing the ?Start In? on the shortcut and sure enough, it does the same thing and stops working. Also, if I Start==>Run and paste that command and run it, it does the same thing and flashes the command prompt screen and nothing happens. It's like it just doesn't have a path to something. I have no "Java" experience and beginner VBScript...So any assistance would be greatly appreciated! Thanks!

    I changed it to have "cmd /k", so that it would at least keep the cmd window open so I could read the error message...it is giving me the following...
    "Exception in thread "main" java.lang.NoClassDefFoundError: com/cbsgame/cbPlus/CBPlus"
    I believe a major part of my problem is that I am majorly JAVA challenged and don't really know what that "com.cbsgame.cbPlus.CBPlus" portion of the java command relates to. I searched for jar file names CBPlus and found one in "c:\program files\CBS\CBPay\client\lib", but don't see how that relates/translates to the ".com.cbsgame..." in the JAVA command?
    Thank You!!!

  • What are the most common questions in the forums?

    I have my own ideas about what are the questions we see asked over and over and over again in here. Everyone post your ideas here so we can compile a FAQ and maybe post it somewhere (Virum, your new site? :) )

    Please do my homework/coursework/think for me
    This has to be by far the most common type of question asked on the forums.
    Classpath questions
    HashCode questions
    Pointer vs Reference Debate (totally spurious but people spew 100's of pages arguing about something that is perfectly obvious)
    A very good Thread that is probably 1000's of entries long by now is the
    "How to get your questions answered promptly" one (or however this is called). A recap of that published somewhere would be of tremendous value, especially if it was presented as a page you had to go through before landing in the forums to post your latest "Java Challenge" aka "do my coursework" on the boards.

  • Need to know how you guys feel/think?

    Hi guys,
    As I have posted earlier, I want to pick up Java once again. However, due to my heavy schedule I can only pick it up slowly. But then problems come again. I find that after I've learnt something, I tend to forget as I'm not a real-life Java programmer, you can either called me a leisure Java programmer, or a Java hobbyist. But I do wish that one day I can both program in Java and other programming languages. I hope to create something that is build of Java and other language to talk to each other convieniently.
    However, I felt that, without real-life hands-on experience, it's quite hard to put into practice for what you have just learnt! OMG! This is terrible, I feel that I might repeat this forget-pick up loop. Hmm, wondering does it justified with the time I put time?
    Guys, can any of you suggest to me anyway I can always put into practice for whatever I have learnt (at least those from Java Tutorial on Sun website)?
    Is there anything not too ambitious but could be real-life problem solving and solution that I don't wish to make money, but to keep my hands busy on Java and always remember what I have just learnt?
    Any feedbacks and suggestions are highly appreciate.
    P/S: I hope this is not a rubbish topic that doesnt worth anyone's reply -.-
    Yours sincerely,
    Jenson
    Message was edited by:
    Jenson

    I was in a similar situation - I work in IT, but only
    program in Java for fun at the moment. You say you
    want problem-solving suggestions. Can you think of
    any computer-related problems you would like solved?
    Everybody has little irritations when working with
    computers. Maybe you've been looking for a calendar
    application with all the functionality you want? A
    timer that will remind you when your favourite tv
    programs start? A system for organising your CDs?
    Don't worry about it having been done before. There's
    loads of resources available, like these forums. I've
    learnt loads by poring through the APIs. Start with
    something simple, and work your way up if you want.
    Right now, I'm working on a swing app which takes a
    lot of parameters in a form, and outputs an HTML
    template - solves a time-consuming problem for me,
    but probably not much use to anyone else!
    If you haven't got any ideas straight off, try doing
    the homework exercises posted on these forums
    (probably best not to spoonfeed the answers though!),
    or look at the Java > Student Projects section of
    this website:
    http://mindprod.com/index.html#MENU
    If you're feeling ambitious, this site
    (http://acm.uva.es/problemset/) has a large set of
    non-language-specific java challenges, but they're
    quite a lot more complicated.Hi Kate,
    Glad to find someone in the similar situation like me! At least I can learn something from your experiences or so. So far the suggestions that I get is to read up a lot of books. Well, yes, I would love to read up to understand and know how to program in Java, but at the same time I need to know how to do real-life problem solving too. I can't make myself stop programming if I have a strong interest in it and strong desire to improve and never forget what I've learnt!
    I have a passion for programming, but at the same time I think I'm somehow very noob in this Java, which I think it's best for me to learn and horn my skills by working on the real-life projects, or at least like what you have done, put your daily problems with Java, hey i never think of this before. But I have one question, wouldn't Java be quite resource intensive if you run those applications on your PC or notebook computer? I'm always reserved for developing Java application that run on my non Intel Core Duo processor based notebook. It's only running on a Pentium M, and it's 2 and a half years old. LOL..
    The resources you have just passed to me could be very useful if I'm up to the tasks. I would love to develop something for my own use too! I'm really thinking of doing that even though I'm quite concerned about the afore-mentioned performance issue.
    Keeping Java as a hobby is fun and I can always think of something that some other language may not be up to the job, that Java can easily achieve it, or with some efforts. I don't know whether I would ever have the chance to become a Java programmer, but I will definitely be having fun and enjoy programming with Java. I wish to develop something "real" platform-independant, that can talk with different type of application regardless of what's the language used to develop them.
    Meanwhile, I think I'm a bit overly ambitious while telling people, I don't mind doing Java game programming too. But I would love to develop games in C if possible. For Java, I would prefer to start from mobile Java games for mobile phones. That would be cool. Imagine myself playing and enjoying the game I have developed and sharing with my friends and people would love that game. Wow, all the efforts pay off.
    Mind to share how you learn Java throughout the years? Is it like what you mentioned in your post above? =)

  • [b]The challenge is on: Creating PowerPoint Files with Java[/b]

    Hi, guys and geeks!!
    I'm new here and generally not as skilled and talented as you guys -
    that's why I am passing this challenge on to you:
    I want to create a PowerPoint presentation using Java. (My Data will be in XML and I'll have to generate slides with Flow-Charts from that data)
    1.
    I know of only one commercial Library that seems to do this very comfortably. But it costs about $5000... (http://tonicsystems.com/) - have you used it?
    2.
    I know that I could use Apache's POI (http://jakarta.apache.org/poi/), as it gives me access to the MsOLE 2 compound doc. format, but their work is most developed only for Excel and Word. so I'm not sure what kind of obstracles I'd be facing....
    3.
    And then there is JAWIN (http://jawinproject.sourceforge.net/) which would enable me to call COM-Components... How would I do that?
    Any other /better ideas?
    So, please let me know your thoughts and if you know what I could do!
    Also, please let me know how I should go about with it.....
    I'm looking forward to seeing your "muscles" (i.e. knowledge) play...!
    Cheers,
    Anna ;o)

    Hi i'm still working on my program to generate PowerPoint Files with Jawin. I'm trying to get the heght property on a row.
    For example: rows(1).height
    I can get rows. but not rows(1).
    I got a jawin Exception on :
    public int getRowHeight(int row) throws COMException
    DispatchPtr rows;
    int rowHeight;
    DispatchPtr theRows = (DispatchPtr) this.getDispatchPtr().get("Rows",new Integer(1));
    rowHeight = (Integer) theRows.get("Height");
    return rowHeight;
    Here is the stacktrace:
    org.jawin.COMException: 80020003: Member not found.
    at org.jawin.marshal.GenericStub.dispatchInvoke0(Native Method)
    at org.jawin.marshal.GenericStub.dispatchInvoke(GenericStub.java:201)
    at org.jawin.DispatchPtr.getN(DispatchPtr.java:248)
    at org.jawin.DispatchPtr.get(DispatchPtr.java:194)
    at pptpublisher.PPTTable.getRowHeight(PPTTable.java:117)
    at pptpublisher.Main.main(Main.java:51)
    Thanks for replying

  • Challenging issue for Java and XML Gurus.Please advise

    An extremely tricky and challenging code.
    I have been able to add 2 XML documents together
    using importNode().
    xmlDoc1
    <?xml version="1.0" encoding="UTF-8"?>
    <i:Interest xmlns:i="common">
    <i:Details xsi.type="i:vanilla.details.stock">
      <i:Strategy xsi.type="strategies:call">
         <strategies.Expiry>2009-12-01</strategies.Expiry>
      </i:Strategy>
    <i:Ref/>
    </i:Details>
    </i:Interest>
    xmlDoc2
    <?xml version="1.0" encoding="UTF-8"?>
    <i:Underlying value="KGF">
    <common:Currency>GBP</common:Currency>
    </i:Underlying>
    My Java Code to append them together
    NodeList list = xmlDoc2.getChildNodes();
    for (int i=0; i< list .getLength(); i++) {
         Element element = (Element)list.item(i);
         Node dup = xmlDoc1.importNode(element, true);
         xmlDoc1.getDocumentElement().appendChild(dup);
    Output:
    <?xml version="1.0" encoding="UTF-8"?>
    <i:Interest xmlns:i="common">
    <i:Details xsi.type="i:vanilla.details.stock">
         <strategies.Description>Call</strategies.Description>
         <strategies.Expiry>2009-12-01</strategies.Expiry>
       </i:Strategy>
    <i:Ref/>
    </i:Details>
    <i:Underlying value="KGF">
    <common:Currency>GBP</common:Currency>
    </i:Underlying>
    </i:Interest>     Query:
    I would like to add the 2nd XML Document after element <i:Ref> . How to do this? I dont want the 2nd XML doc after <i:details> but before it.
    Please help.

    Well. You say you want to insert a node as a child of another node, and it needs to be inserted before a certain other child node.
    There's an insertBefore() method in the Node interface. Use that.
    And if you thought that was a challenging issue then you might as well give up writing DOM code right now.

  • TODAYS LITTLE CHALLENGE  FOR JAVA DEVELOPERS!!!

    This challenge is related to EventListener.
    I initialized a String i.e
    String data = "myname";
    What i wnat to do;
    whenever the string data changes some event generate's so that in Listener
    method i received the the data .
    What kind of Listener should be used i not no.
    Be sure not to initialize like this "static String data = "myname";
    Example:
    String data = "myname";
    data.add...Listener(this);
    for(int i = 0; i< 10; i++)
    data = "myname"+i;
    public event...Listaner( Event ...e)//Event listener
    string s = e.getdata();// OR some other function
    Thank's

    First, I think this is a cool idea, and there is a new language specifically designed to achieve this kind of event programming.
    Second, I don't think this can be done with the Java language, at least not with the current Java architecture. Among the few problems implementing this, the greatest obstacle is here:
    String data = "myname";
    data = "myname"+i;Now, to event trigger this data = "myname" + i; , or to the JVM data = new String("myname" + i); , is problematic. The String variable data did not change value, it changed its reference. You can not intercept the = operator in Java. You can not change the String constructor behavior legally. (Well, even you do, it applies to all Strings and not just the data variable).
    So, the only work around solution to achieve a similar effect is to wrap the String class to a MutableString class. (Note: wrap, not extend) And expose get/set method for this wrapper string class, then you can do whatever listener in the get/set method of your class. However, you still can not add listener for object reference change.
    The above is only my take though. Do you have the answer to the challenge? I would love to hear others or the answer.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Thanksgiving Challenge - ListenUp Java Applet integration

    For those that like a Challenge... I came across this Java
    Applet that appears to be quite powerful to add recording and
    playing of voice audio files to a website:
    http://www.javasonics.com/downloads/
    I have not been successful in writing the coldfusion code yet
    that will read the information that is passed from this Java Applet
    with respect to sound file (wav), file name, and other fields that
    are in the form when created.
    This is the format of the use of the Applet that I would like
    to get working on the site:
    http://www.javasonics.com/listenup/examples/use_text_fields.html
    I look forward to anyone that can get this code working and
    how you did it with ColdFusion.
    Thanks,
    Tom
    [email protected]

    When I run their PHP version that works on a Linux System and
    the Java Applet debugger on this is the result from the time the
    file is handed off from the Java Applet to the PHP Code.
    Can anyone tell if the file is actually being written to the
    server then PHP is reading it from the server or is it just being
    written to memory and PHP is reading a variable or memory block for
    this data?
    ListenUp: 49.081, sendRecordedMessage(message_12345.wav)
    ListenUp: 49.091, sendRecordedMessage: upload
    message_12345.wav
    ListenUp: 49.101, start upload, freeMem = 3535456, totalMem =
    5640192
    ListenUp: 49.431, got compressed image, freeMem = 3453040,
    totalMem = 5640192
    ListenUp: 49.671, got MIME data, freeMem = 3387064, totalMem
    = 5640192
    ListenUp: 49.902, MultipartFormDataUploader: POST size =
    15733
    ListenUp: 49.902, parseStatusLine: HTTP/1.1 100 Continue, len
    21
    HTTP/1.1 200 OK
    Cache-Control: private
    Connection: close
    Date: Thu, 27 Nov 2008 18:38:07 GMT
    Content-Type: text/plain
    Server: Microsoft-IIS/6.0
    X-Powered-By: PHP/4.4.1
    X-Powered-By: ASP.NET
    <param name=userfile>
    raw_name = message_12345.wav
    name = message_12345.wav
    type = audio/wav
    size = 15420
    Upload dir = ../uploads
    duration = 2.6006349206349206
    SUCCESS - message_12345.wav uploaded.
    ListenUp: 50.332, DynamicMemoryBuffer: deleting array.
    ListenUp: 50.332, finished upload, freeMem = 3487480,
    totalMem = 5640192

  • Announcing the Java Spring Programming IDE Challenge

    Help promote your favorite Java Spring Programming IDE by taking part in the Java Spring Programming IDE Challenge which is taking place on JavaPocket.net.
    The resulting contest entries will be used to help teach Java Spring Programming. See JavaPocket.net for more details.

    In case you don't have time to partake in the programming challenge right now, at least come take a really short - single page - survey on JavaPocket.net to help us figure out which Java Programming IDE best lends itself to learning Java Spring. Thanks!

  • Challenge: How to create an BMP Java Bean from a DBF Database??

    Hello guys....
    This is my challenge and looking for some aim:
    I was asked to create an application that must read from an existing DBF Database of products (That is already used by an administrative system) an build a Price List in Real Time. The program must be accesible through Intranet using a web browser.
    The Appplication Client must be a faster GUI (Applet or App) that do not cause interference in the normal functions of the Administrative System that owns the DBF Database, but must propagate any change maded to the database in real time.
    I was thinking to use BMP Entity Beans for manage the DBF Tables and Utility Beans to avoid constan access to the tables (As in Duke�s Bank Tutorial) but i do not know how to create a BMP Entity Bean without a Database that do not have an JDBC Driver ?????????
    i was able to gain access to DBF TAbles using an small library called TinySQl but i get lost in this point....
    any suggestions/comments about following matters will be apreciate:
    1.- Application Performance Tips
    2.- A better JDBC Driver for DBF Databases
    3.- Application�s Security
    4.- User Management
    5.- Any comments in general !!!!!!!!!!
    Initially 15 Duke�s Dollar will be offered to the best anwser, but i considering to offer 5 duke�s dollar to the best second anwser that can be earned through another post i will create later!!!!!!!!!11
    Regards.................

    Hello guys....
    This is my challenge and looking for some aim:
    I was asked to create an application that must read
    from an existing DBF Database of products (That is
    already used by an administrative system) an build a
    Price List in Real Time. The program must be
    accesible through Intranet using a web browser.
    The Appplication Client must be a faster GUI (Applet
    or App) that do not cause interference in the normal
    functions of the Administrative System that owns the
    DBF Database, but must propagate any change maded to
    the database in real time.
    I was thinking to use BMP Entity Beans for manage the
    DBF Tables and Utility Beans to avoid constan access
    to the tables (As in Duke�s Bank Tutorial) but i do
    not know how to create a BMP Entity Bean without a
    Database that do not have an JDBC Driver ?????????
    i was able to gain access to DBF TAbles using an
    small library called TinySQl but i get lost in this
    point....
    any suggestions/comments about following matters will
    be apreciate:
    1.- Application Performance Tips
    2.- A better JDBC Driver for DBF Databases
    3.- Application�s Security
    4.- User Management
    5.- Any comments in general !!!!!!!!!!
    Initially 15 Duke�s Dollar will be offered to the
    best anwser, but i considering to offer 5 duke�s
    dollar to the best second anwser that can be earned
    through another post i will create later!!!!!!!!!11
    Regards.................
    PLEASE DO NOT POST REPLIES IN THIS THREAD, USE THE UPPER THREAD THAT HAVE 10 DUKE�S DOLLARS ASSIGNED.
    SORRY

  • The Challenge of Java

    Dear All,
    I have been learning Java for about half a year now, but I am still uncertain about its design philosophy.
    My questions are:
    1. If I were to create a GUI based program, how should I manage the creation of frames (in main() or somewhere else), state of the GUI components (frame, panel, window, etdc.) and lots more. Is there any site or documents or books that can guide me on this?
    2. How to segregrate the the codes from GUI construction to underlying functionality, and the state of the GUI?
    My questions may be vague but I really hope that someone can show me the path. Thanks!

    1. If I were to create a GUI based program, how should
    I manage the creation of frames (in main() or
    somewhere else), state of the GUI components (frame,
    panel, window, etdc.) and lots more. Is there any site
    or documents or books that can guide me on this?are you trying to create a GUI using Swing or AWT?
    if you are using AWT you will need to implement a LayoutManager(an interface)
    http://java.sun.com/products/jdk/1.1/docs/api/Package-java.awt.html
    eg This one of the first GUI programs it uses a Card Layout (like a box of index cards) with some functionality. Have a look at the online documentation and play about with the code. Good luck
    import java.awt.*;
    import java.awt.event.*; //event package provides functionality
    public class AWTExample extends Frame implements MouseListener{
    /* MouseListener is an interface needs to be implemented look at documentation for other types of Events*/
    Button b2;
    Button b1;
    CardLayout c;
        public AWTExample(String title){
            super(title); //this gives the frame a title from inheritance
            c=new CardLayout(); //specific Layout Manager
            setLayout(c);
            setSize(300,200);
            setBackground(Color.blue);
            Panel p1 = new Panel();
    //default layout manager for panel is FlowLayout Manager
            p1.setBackground(Color.red);
            p1.setSize(200,100);
            b1 = new Button("Change Panel2");
            b1.setSize(50,20);
            b1.setLocation(100,50);
            b1.setBackground(Color.gray);
            b1.addMouseListener(this);
    //this is where the functionality is introduced
            p1.add(b1);
    //adds a button to the Panel
            Panel p2 = new Panel();
            p2.setBackground(Color.blue);
            p2.setSize(200,100);
            b2 = new Button("Change Panel 1");
            b2.setSize(50,20);
            b2.setLocation(100,50);
            b2.setBackground(Color.gray);
            b2.addMouseListener(this);
    //more functionality
            p2.add(b2);
            add(p1, "Panel 1");
            add(p2, "Panel 2");
    public static void main(String args[]){
           AWTExample cardexample=new AWTExample("Card Layout Example");
           cardexample.show();
    //creat an object of what you have declared above
    public void mouseClicked(MouseEvent e){
    //this where you define what will happen
           if(e.getSource().equals(b1)){
              c.next(this);
           }else if(e.getSource().equals(b2)){
              c.previous(this);
    /*You need to include the rest of the MouseListener methods here, but not if you use Anonymous classes!*/
         public void mousePressed(MouseEvent e){}
         public void mouseReleased(MouseEvent e){}
         public void mouseEntered(MouseEvent e){}
         public void mouseExited(MouseEvent e){}
    }

  • How to create a TOOLBOX using Java  - a real CHALLENGE for U

    Hello,
    I want to create a Toolbox using Java which will contain different components of my interest.I should be able to select one component and paste it in a frame also be able set the property of individual component after placing in the frame,just like VB toolbox.
    Can anybody suggest with code samples??
    Regards,
    Suraj.

    You are essentially asking how to write an IDE (Integrated Development Environment). This is a big question. You might start by looking at existing IDE's (JBuilder, Forte...) and see how they do it. If you want source, there is probably an open source IDE you can lift most of your code from.

  • A simple Challenge to Java Programmer's for JTabel

    I am the student from a computer Institude of Pakistan,
    I am trying to do some thing but it's not to be done for the sake of ALLAH plz help me out....
    Problem: I m trying to make a table but the table is so difficult that i am not able to make it properly, this is like excel (when we marge two cells and make it one but there is two or more then two columns ) how it can be solved....
    tc Bye

    Invoking the name of your parochial deity has little
    effect in these forums, in fact I would suggest that
    you will end up alienating a large proportion of
    people who would otherwise answer your questions.You know, usually I'd frown at someone telling me "God bless you", too. But for some reason, I almost replied "thanks" to this one. Maybe because I usually don't get to hear it.
    I guess I need to calm down a little, basically it's the same as "I wish you luck in your life", and I wouldn't be offended at that one. Nobody forces me to believe in Allah or God, but they do belive in them, and if they wish their deity to watch over me - it's a very nice gesture. It's a sign of goodwill and thankfulness, and I shall accept it as such.

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • My computer crashed. How do I get my music library back?

    My hard drive crashed. I need to get the music from my ipad back onto my computer. If I synch my ipad right now, it will erase all the music on the device.

  • Can you help advise re video card upgrade for my G4 MDD?

    Hello all. Just upgraded to Tiger from 10.2.8 a couple weeks ago. Should have done it long ago... like having a new computer! I want to get more out of the OS for mostly graphic apps like PS-CS2, Painter, Freehand, Fontographer, etc. Right now I have

  • Payment program F110 - select wrong Bank Account ID

    Hi, I have created a new bank account for an existing House bank (in trans. fi12) When we run the payment program F110, the wrong bank account is mentioned in the DME file. It shows the first one on the list and not the last one. How can I create a D

  • Outlook 2010 Adobe PDF maker fails

    I work for a major university that currently uses Outlook 2010. We get high volumes of emails and like to convert said emails to archive them for our records. There seems to be a problem with the amount of emails that can be converted, I've yet to de

  • Execute WebI Report within Xcelsius - Bypass Authetication of Infoview

    Hi, Env: BO Enterpise XI3.1 SP3, Xcelsius 2008 and LiveOffice. I have 2 web intelligence reports say Report1 and Report2. In Xcelsius, Report1 is embedded using Live Office. The data is displayed in form of a list. When the user selects a record from