Industry use for java applets?

I have been writing an applet for my fantasy football league that uses a mysql database. I am doing this to learn java. My counselor from NC State referred me to some guy looking for a web programmer. He called me up and I was able to get him to come over to the house just a minute ago. His company wanted a website to be used only by his employees as they called customers and asked if they had any metal cutting equipment they wanted to sell or buy.
He wasnt very computer savy but insisted the site be done with ASP or.NET.
My question is this....
Why would a java applet not suffice for this problem? I even offered to do it free for something to put on my resume(maybe this was my mistake). I am planning on learning JSP/J2EE very soon as I am almost finished my my applet.
I am just wondering what would be the problem with doing this as an applet.
I told him I could do it in a week as I know I could. Why do companies insist on using technologies they dont really need? Or am I not seeing something here? Any feedback appreciated...
[email protected]

Companies insist on using technologies that they don't really need for three reasons:
1) (a good reason) They've already paid for some equipment or licenses and want to exploit those purchases. Introducing a new technology would require new expenditures. (This isn't applicable if the new technologies are free, of course.)
2) (a good reason) Their current staff already know a particular technology, and so they insist on doing new work in that technology to reduce maintenance issues. If everyone at the company knows .Net and you do something in J2EE, then in the future any maintenance would require either training, or hiring an outside consultant to do the maintenance. This costs money.
3) (the bad, but sadly most common reason) They're stupid. They read a sales pitch from Microsoft that says "J2EE bad, .Net good" and they believe it. Or they just love everything from Microsoft, because, gosh, doesn't everyone? Or they learn a tiny bit of information (".Net can be used to do things kind of like this") and refuse to consider anything else because that would reveal the tinyness of their knowledge.
Though it's not clear to me from your description whether applets are the best solution either. Why does he need a web site at all for this? What will the application do? Why not use C++ or Flash/Actionscript, for that matter?

Similar Messages

  • RFC used for java.util.regex

    Hi,
    Does anyone know the RFC used for java.util.regex ??
    Thanks & Regards,
    Gurushant Hanchinal

    Can you please give me the link to view to specifications for java.util.regex.. I have tried the link which is available in :
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html page with name " Java Language Specification"
    on click of this link, i am getting page not found error..
    Please give me any other alternate links to view the regular expression specifications..
    Thanks,
    Gurushant Hanchinal

  • Using a java applet as form

    hi there,
    I'm new to programming applets (but not new to java and gui programming).
    Here's my question:
    I would like to use a java applet with a textfield as form input. is this possible?
    I see some several advantages over using standard html textfields and java script. (f.e.: I can set the cursor to any position after changing the text in the field).
    I'm thinking on a solution by my own. Would it be possible to use a java script method to access a property from the applet? so I could use a combination of java applet, html and java script. On the onClick() event I read the actual value from the applet and do some normal post request. Any better suggestions?
    thx
    soa

    I want to write the textfield in java. So I use the applet as form.
    What would be your suggestion?
    Write an applet with an textfield and and getValue() method? So I could create a normal html button and use javascript to write a method wich acces this getmethod. So I could register this method to the onClick() event.

  • Using the Portal Single Sign-On for java applet clients

    Hi
    We have a task to build a java applet working within a portlet and comunicating to some session EJB(wrapped BC4J) running on the OC4J. The applet is presumably connecting to server via RMI. This connection should be restricted to some groups of portal users.
    When a user is entering the applet he is supposed to be already logged into the Portal.
    There is a lot of information on building custom secure portlets using only a pure HTML(same as JSP) client whith the help of the Portal Single Sign-On.
    But, is it possible to use the Single Sign-On for establishing a secure RMI connection from applet to OC4J without entering a password in the applet once more?
    Yuriy

    Perhaps you can write a small JSP page or PLSQL
    web procedure that will grab user name from
    the SSO Server (via SSOSDK/mod_osso)
    and invoke the applet with encrypted user name.
    The applet will receive the encrypted username
    and decrypt it to get the clear user name.
    This help to get Single Sign-On.
    To make sure that environment is secure, encrypted
    user name parameter should have random salt,
    user name, and time stamp to prevent replay attack.
    Applet must make sure that the encrypted users name
    time stamp set by the JSP/PLSQL page has value
    within a reasonable time limit like 5 minutes

  • Did the markup for java applets change with version 4.0.5

    Starting with Safari version 4.0.5 java applets are not rendering correctly. The Java coffee cup loading image pushes the actual content down. Was the applet tag markup changed with this release?
    Take a look at the following example:
    http://tinyurl.com/p27vpq
    or
    http://preview.tinyurl.com/p27vpq
    FYI, 4.0.4 displays correctly.

    Ok...
    First, try a different user account with Safari and see if the same thing happens. If it does then it's a system wide issue, not just your user account.
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem. Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    Web pages now include a small icon or 'favicon' which is visible in the address bar and next to bookmarks. These icons take up disk space and slow Safari down. It is possible to erase the icons from your computer and start fresh. *To delete Safari's icon cache using the Finder, open your user folder, navigate to ~/Library/Safari/ and move this file "webpageIcons.db to the Trash.*
    Relaunch Safari.
    If you still have problems, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If it's a successful launch, then that .plist file needs to be moved to the Trash.

  • How to update content of a file on server using a Java Applet?

    Hi,
    I'm new to Java, and I have a task now to overwrite a text file on a server using an applet. I have written a piece of code which compiles but doesn't work. Can you please take a look at the code or give me another way to do it?
    Thanks.
    Code:
    import java.applet.Applet;
    import java.io.*;
    import java.net.*;
    public class test2 extends Applet{
    public void init() {
    StringBuffer buf = new StringBuffer();
    try {
         String output = "this is some string";
         URL aUrl = new URL (getCodeBase().toString() + "test.txt");
         System.out.println(aUrl);
         URLConnection con = aUrl.openConnection();
         con.setDoOutput(true);
         PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(con.getOutputStream())));
         out.println(output);
         out.close();
    catch (MalformedURLException mue) {
         System.out.println("improper url");
         mue.printStackTrace();
    catch (IOException e) {
         System.out.println("io exception");
         e.printStackTrace();
    }

    Ram.ViSolve wrote:
    869975 wrote:
    Thanks. I knew there would be a security issue, but I do not have sufficient knowledge to get around it. If you have a reference how to configure a server please post it here.You need to create Signed Applet. Because normally applets have some restriction to access the files in the client machine. Signed applets overrides the restriction.
    To know more, Read [url http://192.9.162.55/developer/onlineTraining/Programming/JDCBook/signed.html]Signed Applet
    No. Our OP wants to write to the server, not to the client! And to achieve this from an applet, you don't need it signed, iff the server is the machine from where the applet was downloaded in the first place. You only need to use a mechanism that allows you to write to servers, which HTTP is not. FTP, on the other hand, if setup properly can do it. So instead of trying to write using an HttpURLConnection (OP's attempt), you would use an FTP client library. FTP here is just an example and probably not the best way. Another option is to use some servlet or PHP or ASP on the server side and the applet will sumbmit the changes to that code on the server, which in turn will write to the file. The idea is that you need some 'partner code' on the server, be it the FTP server or the servlet/PHP/ASP code. None of this requires the applet to be signed.

  • Call other html page on using a java applet!!

    Can I call other html page using a function into a java Applet? Please, somebody reply!!!

    How can i do? Explain!! Thanks...

  • Which application of Netweaver will be useful for JAVA professionals

    Hi,
    I am new to Netweaver and need to know which application of netweaver will be useful for me. I am basically a JAVA Programmer.
    What exactly i can learrn in netweaver. EP,Webdynpro or XI.
    Regards,
    Sujan.

    Hi,
        Netweaver Portal(EP) is a frontend which provides one solid interface to all your applications, whether they are SAP or not. It runs on the java platform.
    You can develop pure j2ee applications using the Netweaver Developer Studio, it has plug-ins which help in developing SAP technologies such as Web Dynpro, but you don't have to use it, you can develop your application using pure java technologies like EJB, jsp, etc. It also provides a solution for deploying your apps to the web application server.
    In EP & WebDynPro, you can easily code if you have Java knowledge.Java is a big part of being a Portal Developer.
    Hope this helps.
    Regards,
    Pooja.

  • Looking for JAVA Applet Guru

    We are looking for a JAVA applet guru that knows a way to discover all of the fields on a JAVA applet and then return the list and data to a calling app without having any access to the applet source code. Previously the best answer we have received is "just OCR the screen"
    Any other ideas? JDPA
    We have a good consulting opportunity for someone who can provide a proof-of-concept application.

    any updates ..

  • Could anyone tell me please what compiler can i use for java?

    i want to begin programing in java and i dont know what compiler shoud i use.thank you

    The one that comes with the JDK.
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    Sun's basic Java tutorial
    http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    James Gosling's The Java Programming Language. Gosling is
    the creator of Java. It doesn't get much more authoratative than this.

  • How can I build Instalation Program for java applet?

    I want to build on line internet game based on java applet.
    Uset must instull the game to his computer.And this program mast Connect to the server when user enter
    to this application.Not from explorer,but from my application,like when i enter to ICQ.
    My questions:
    How can i build instalation program in java?
    How can i connect to the server when user enter into my game not from explorer but from game?
    Thanks,Maya.

    Hi Maya
    First of all an Applet does not have to be "installed" as you would with a normal application. The browser handles the install and execution of the applet.
    Check out this URL for more about applets:
    http://web2.java.sun.com/docs/books/tutorial/applet/index.html
    On the subject client/server pairs - see:
    http://web2.java.sun.com/docs/books/tutorial/networking/sockets/index.html
    If you decide to make the game an application instead check out Sun's WebStart - under the products section.
    That's about all the help I can give you.
    Programming a game is a complicated subject - I am doing one too:
    http://hjem.get2net.dk/mhjembaek/armageddon/
    Kind reg,
    Hjembaek

  • JSP/HTML: server used for java server pages

    hi...
    I want to know that which server is used for JSP.
    for example we are used ASP pages IIS bulit in windows NT...
    I read books but can not understand that which type of server is used in JSP with HTML pages. Please send me information about that matter
    Thanx in Advance
    Muhammad Bilal

    Any Web server (including Apache, Netscape, and IIS).
    I suggest you have a look at the following article:
    JavaServer Pages[tm] Technology - Comparison with ASP
    http://java.sun.com/products/jsp/jsp-asp.html

  • Is there a size limit for the *.au files to be used in Java applet

    Hi,
    I wrote an applet to play,loop and stop au files but I couldn't get the sound out of it,it was working fine with a 64 kbyte au file but once I use a 900 kbyte file,it does not work.I was wondering whether is there a limit for the size of the audio file?Thanks
    les

    4kByte file size, 1000 notes max.

  • Wondering what version to use for gaming applets

    I have just started programming in Java, one of the things I am trying is some simple game programming.
    Here are a couple of questions:
    Which SDK version should I be using? (1.2.2, 1.3.1. 1.4b?)
    Would I need to require a user to download a Java plugin or does IE have automatically support some version of Java?
    -Thank!

    netscape and microsoft browsers ship with java1.0
    some of those ship with java1.1
    netscape and microsoft do not ship with jdk1.2 and up.
    Therefore to make your games compatible with all browsers you should use 1.0
    however, if you know your users are going to be more advanced then you can go for 1.3. advanced users will have the plug in.
    But since you are beginning i'm sure you'll want to distribute your applet far and wide. for that reason you'll want to go with 1.0.
    Stephen

  • Macintosh support for Java applets

    Is there a way to auto-install the Java Runtime and plugin for Mac browsers like Internet Explorer and Netscape?
    Do the <object classid...> tags work on Macs too?
    I do know that Mac OS X shipped with Java 1.3.1. But how can I find out if the plugin is supported by a Mac user's browser?
    thank you very much.

    Has anyone gotten applets with on OS X?!?!? I have an applet that is in signed JARs on my web server. Once they get cached, I get the following in the Java Console:
    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
    baseURL is https://myserver:11443/iBiomaticsPortal/ppv/
    documentURL is https://myserver:11443/iBiomaticsPortal/ppv/yo.jsp
    Referencing classloader: sun.plugin.ClassLoaderInfo@49d886, refcount=1
    Added trace listener: com.apple.mrj.JavaEmbedding.JE_AppletViewerPanel[com.ibiomatics.ppv.applet.Applet,0,0,0x0,invalid,layout=java.awt.BorderLayout]
    Sending events to applet. LOAD
    Determine if the applet requests to install any JAR
    Jar cache option: Plugin
    Jar archive(s): DEapplet.jar,DEserverstubs.jar,jcchart451Kplus.jar
    Jar cache version(s): 1.0.3.0,1.0.3.0,3.0.0.1
    Check if DEapplet.jar exists as entry in cache table
    Check if DEapplet.jar actually exists in cache
    Check if DEapplet.jar is upto-date
    DEapplet.jar is upto-date in cache
    Check if DEserverstubs.jar exists as entry in cache table
    Check if DEserverstubs.jar actually exists in cache
    Check if DEserverstubs.jar is upto-date
    DEserverstubs.jar is upto-date in cache
    Check if jcchart451Kplus.jar exists as entry in cache table
    Check if jcchart451Kplus.jar actually exists in cache
    Check if jcchart451Kplus.jar is upto-date
    jcchart451Kplus.jar is upto-date in cache
    Sending events to applet. INIT
    Applet Installation finished.
    Sending events to applet. START
    java.lang.ClassFormatError: com/ibiomatics/ppv/applet/Applet (Bad magic number)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
         at sun.plugin.security.PluginClassLoader.access$201(PluginClassLoader.java:47)
         at sun.plugin.security.PluginClassLoader$1.run(PluginClassLoader.java:284)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:272)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:463)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:581)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1334)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:510)
         at sun.applet.AppletPanel.run(AppletPanel.java:288)
         at java.lang.Thread.run(Thread.java:491)
    If I look at the actual contents of the JAR file(s) in the cache, they are not JARs at all. They are HTML (text) files that look like this:
    <html><head><title>302 Moved Temporarily</title></head>
    <body bgcolor="#FFFFFF">
    <p>This document you requested has moved temporarily.</p>
    <p>It's now at /iBiomaticsSecurity/Login.jsp;jsessionid=211MQ0XryekiU1PrEyFAjBt8oe47JOlNJJnf7lvpgFMrXLPCl8Uw!-713944120!-1069893353!11800!11443.</p>
    </body></html>
    I have tried just about everything. My client is OS 10.2 running IE 5.2. I get the same results in Mozilla and Safari.
    Here is the the HTML that contains my applet tag:
    <HTML>
    <HEAD>
    <TITLE>P21 (TM) Data Explorer</TITLE>
    </HEAD>
    <BODY>
    <APPLET WIDTH=100% HEIGHT=100% CODEBASE="https://myserver:11443/iBiomaticsPortal/ppv" CODE="com.ibiomatics.ppv.applet.Applet">
    <PARAM NAME="CACHE_OPTION" VALUE="Plugin"/>
    <PARAM NAME="CACHE_ARCHIVE" VALUE="DEapplet.jar,DEserverstubs.jar,jcchart451Kplus.jar"/>
    <PARAM NAME="CACHE_VERSION" VALUE="1.0.3.0,1.0.3.0,3.0.0.1"/>
    <PARAM NAME = "MAYSCRIPT" VALUE="true"/>
    <PARAM NAME = "ibioConnectionType" VALUE="servlet"/>
    <PARAM NAME = "ibioPPVhostname" VALUE="https://myserver"/>
    <PARAM NAME = "ibioPPVportnumber" VALUE="11443"/>
    <PARAM NAME = "ibioPPVDAM" VALUE="com.ibiomatics.analysis.server.demoDAM"/>
    <PARAM NAME = "ibioPPVProjectID" VALUE="NDA"/>
    <PARAM NAME = "ibioPPVStudyID" VALUE="NDA~PHCSAMPLE"/>
    <PARAM NAME = "ibioStudyManagerClass" VALUE="com.ibiomatics.analysis.server.ppvStudyManager"/>
    <PARAM NAME = "ibioGDBenabled" VALUE="false"/>
    <PARAM NAME = "lookAndFeel" VALUE="metal"/>
    </APPLET>
    </BODY>
    </HTML>
    Thanks in advance,
    Drew

Maybe you are looking for

  • In Generic Delta By selecting 0CALDAY?

    hello all In generic delta,if v select <b>0calday</b> as a delta type,after selecting this delta type v need to select a field for this delta type,should v need to select <b>Time field</b> only(like Creation date,Last date of creation or something li

  • MyBook 4TB visible in WD software but not in My computer

    What could be wrong? WD Drive Utilities shows MyBook but it isn't visible in My computer, Adobe Bridge, etc.

  • Query quiz find a query for sine function distribution

    Let me tell you something about distribution function. Here, i use the term, 'distribution function' differently from what we use in general mathematics. See the following query which generates self-counting sequence. SELECT     TRUNC (1 / 2 + SQRT (

  • IPod and iPad mini

    I have and iPad mini but i want to take something into school And I'm not sure whether I should get an iPod touch or nano And the whether it should be 16gb or 32gb Thx FYI my iPad mini is 32gb

  • Skype is the Worst Video Calling Software Available

    Dear All, Since I cannot find any easy way to contact Skype I'm complaining here. Skype is literally the worst piece of software I have ever used.  Whats even more annoying is that is getting worse by the year. Every video consists of talking to one