Using java for the web at large

Hello,
i have built a interface for my client that requires the Java2 browser
plugin to work. Its not the front page or anything...but non the less
it is a page that my client payed good money for. My question is this..
due to the lack of support from MS in regardes to a current
java plugin for IE, did I as a devolper fail my client?
I feel somewhat guilty, I can code perl just fine ,And in
this situation perl whould have worked.
Thanks for the help,
jd

I'd have to agree with JElliot, generally the benefits of running web-enabled applications server-side outway the use of client-side applets. There are several factors to consider, but most notably...
* Code Security
It is not difficult to decompile Java bytecode back into something which closely resembles the original source. There are a host of decompilers out there, some even include deobfuscation algorithms to make short work of any obfuscation. If your client-side applets contain valuable intellectual property which is worth an investment in trying to reverse-engineer, which they probably do considering your comments, then you can pretty much kiss your market edge good bye.
Running apps server-side through something like a web interface are inherently more secure you are providing the applications services, but not the app itself (barring any attempts to hack your server or physically break in and steal its HD :)
* Ease of maintanence
Due to the centralised nature of a server-side app, installation and maintanence of your app is alot easier. (Im currently designing a web-based app that is going to service some pretty large engineering firms, the thought of attempting to install and upgrade every app on every computer within such firms is a little scary).
* Ease of access
If designed to support exsisting browser technology, there is no need for installation of propietry software. This is a big selling point for companies who really dont want to spend thousands of dollars and many hours installing software onto hundreds of machines. It also means that the software can be accessed over LANs, WAN, VPN, or the Internet. (Like roaming profiles, only it works). One client asked us about a particular peice of software "Is it web-based". When we answered yes the response was a definate "we'll take it".
Mind you there is a couple of downsides to server-side stuff, namely the complexity jumps up a few notches due to the need of multiple tiers within the app just to have some sort of abstraction and workability in it all. Your often limited in interfaces as well, but in most cases people just want something that works, not something neccessarily pretty. One of the hardest concepts I've found is the idea of application state. Bassicly with web-based stuff you don't have any, and youve got to build it yourself. You can often strike a middle line, with all sorts of business logic performed server side, and only rudimentry GUI stuff in applets.
I wouldn't feel too guilty about it all. Like all things, there is a learning curve, and just getting your head around this conceptual stuff is half the battle. Once you've worked that out, then the easy stuff is coding it. The most annoying thing is when you look back in six months time and kick yourself for not realising half the stuff you know then now.

Similar Messages

  • How stop PS6 from removing the DPI value from an image when using "save for the web"?

    How stop PS6 from removing the DPI-value from an image when using "save for the web"?
    Example:
    - Open a tif image, that contains a dpi value (resolution).
    - Use the splice tool in PS6.
    - Export the slices with "Save for web", as gif-files.
    Then the dpi value is removed, the gif files has no dpi value (it's empty).
    How can we stop PS6 from removing the dpi value when using "save for web"?
    OR:
    When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?

    you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels

  • Saving JPG to PNG using Save for the Web

    Morning
    I came across Paul Riggott's script for saving PSD to PNG which I changed to JPG to PSD.
    The only problem with this is that the file size in most cases is larger than the original.
    Is there a way to do a save as for the web as well?
    Here is the  original code:
    #target photoshop
    var imageFolder = Folder.selectDialog("Select top folder to process");
    var folderList=[];
    if (imageFolder != null)  {
    processFolder(imageFolder);
    folderList.unshift(imageFolder);
    createPNGfromJPG(folderList);
    function createPNGfromJPG(folderList){
    for(var a in folderList){
      var fileList = folderList[a].getFiles ("*.jpg");
       for (var z in fileList){
        var file = fileList[z];
        open(file);
        var Name = fileList[z].name.replace(/\.[^\.]+$/, '');
        var saveFile = File(decodeURI(fileList[z].path+"/"+Name+".png"));
        SavePNG(saveFile);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    function processFolder(folder) {
        var fileList = folder.getFiles()
         for (var i = 0; i < fileList.length; i++) {
            var file = fileList[i];
    if (file instanceof Folder) {
      folderList.push(file); 
           processFolder(file);
    function SavePNG(saveFile){
        pngSaveOptions = new PNGSaveOptions();
        pngSaveOptions.embedColorProfile = true;
        pngSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
        pngSaveOptions.matte = MatteType.NONE;
        pngSaveOptions.quality = 1;
    pngSaveOptions.PNG8 = false;
        pngSaveOptions.transparency = true;
    activeDocument.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);
    Any help or support to head me in the right direction would be appreciated.
    Iain

    This uses "Fitimage"....
    #target photoshop
    var imageFolder = Folder.selectDialog("Select top folder to process");
    var folderList=[];
    if (imageFolder != null)  {
    processFolder(imageFolder);
    folderList.unshift(imageFolder);
    createPNGfromJPG(folderList);
    function createPNGfromJPG(folderList){
    for(var a in folderList){
      var fileList = folderList[a].getFiles ("*.jpg");
       for (var z in fileList){
        var file = fileList[z];
        open(file);
        var Name = fileList[z].name.replace(/\.[^\.]+$/, '');
        var saveFile = File(decodeURI(fileList[z].path+"/"+Name+".png"));
        FitImage(640,640); //Resizes  to the longest size
        //FitImage(128,128);
        savePNG8SFW(saveFile);
        app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    function processFolder(folder) {
        var fileList = folder.getFiles()
         for (var i = 0; i < fileList.length; i++) {
            var file = fileList[i];
    if (file instanceof Folder) {
      folderList.push(file); 
           processFolder(file);
    function savePNG8SFW(saveFile) {
        var desc8 = new ActionDescriptor();
            var desc9 = new ActionDescriptor();
            desc9.putEnumerated( charIDToTypeID('Op  '), charIDToTypeID('SWOp'), charIDToTypeID('OpSa') );
            desc9.putEnumerated( charIDToTypeID('Fmt '), charIDToTypeID('IRFm'), charIDToTypeID('PNG8') );
            desc9.putBoolean( charIDToTypeID('Intr'), false );
            desc9.putEnumerated( charIDToTypeID('RedA'), charIDToTypeID('IRRd'), charIDToTypeID('Sltv') );
            desc9.putBoolean( charIDToTypeID('RChT'), false );
            desc9.putBoolean( charIDToTypeID('RChV'), false );
            desc9.putBoolean( charIDToTypeID('AuRd'), false );
            desc9.putInteger( charIDToTypeID('NCol'), 256 ); //Number of colours.
            desc9.putEnumerated( charIDToTypeID('Dthr'), charIDToTypeID('IRDt'), charIDToTypeID('Dfsn') );
            desc9.putInteger( charIDToTypeID('DthA'), 100 );
            desc9.putInteger( charIDToTypeID('DChS'), 0 );
            desc9.putInteger( charIDToTypeID('DCUI'), 0 );
            desc9.putBoolean( charIDToTypeID('DChT'), false );
            desc9.putBoolean( charIDToTypeID('DChV'), false );
            desc9.putInteger( charIDToTypeID('WebS'), 0 );
            desc9.putEnumerated( charIDToTypeID('TDth'), charIDToTypeID('IRDt'), charIDToTypeID('None') );
            desc9.putInteger( charIDToTypeID('TDtA'), 100 );
            desc9.putBoolean( charIDToTypeID('Trns'), true );
            desc9.putBoolean( charIDToTypeID('Mtt '), false );
            desc9.putInteger( charIDToTypeID('MttR'), 255 );
            desc9.putInteger( charIDToTypeID('MttG'), 255 );
            desc9.putInteger( charIDToTypeID('MttB'), 255 );
            desc9.putBoolean( charIDToTypeID('SHTM'), false );
            desc9.putBoolean( charIDToTypeID('SImg'), true );
            desc9.putBoolean( charIDToTypeID('SSSO'), false );
                var list3 = new ActionList();
            desc9.putList( charIDToTypeID('SSLt'), list3 );
            desc9.putBoolean( charIDToTypeID('DIDr'), false );
            desc9.putPath( charIDToTypeID('In  '),File( saveFile) );
        desc8.putObject( charIDToTypeID('Usng'), stringIDToTypeID('SaveForWeb'), desc9 );
        executeAction( charIDToTypeID('Expr'), desc8, DialogModes.NO );
    function FitImage( inWidth, inHeight ) {
    if ( inWidth == undefined || inHeight == undefined ) {
      alert( "FitImage requires both Width & Height!");
      return;
    var desc = new ActionDescriptor();
    var unitPixels = charIDToTypeID( '#Pxl' );
    desc.putUnitDouble( charIDToTypeID( 'Wdth' ), unitPixels, inWidth );
    desc.putUnitDouble( charIDToTypeID( 'Hght' ), unitPixels, inHeight );
    var runtimeEventID = stringIDToTypeID( "3caa3434-cb67-11d1-bc43-0060b0a13dc4" );
    executeAction( runtimeEventID, desc, DialogModes.NO );

  • CS3 crashes when using Save For The Web

    I recently installed CS4, but because of the slow performance problems with it, I've gone back to using CS3. I'm finding that every time I use CS3's Save For The Web function, CS3 crashes. I tried re-installing CS3 but the problem persists. Save For The Web on CS4 is OK.
    Anyone got any suggestions?

    Try resetting the SFW preferences.
    LenHewitt, "How to delete/reset Photoshop preferences" #1, 23 Jun 2004 12:05 am

  • Using Java for dynamic web page content

    I've currently got a Perl program that I'd like to convert to Java. It merges two files that are stored on a web server and generates a "dynamic" HTML response.
    For example, if I have the following files on the server:
    File1:
    <Comment1>This stuff</Comment1>
    <Comment2>That stuff</Comment2>
    File2:
    <HTML>
    <Comment1><br><Comment2>
    </HTML>
    When I go to the URL
    www.mysite.com\cgibin\merge.pl?file1&file2
    the Perl program will produce a web page saying:
    This stuff
    That stuff
    The major obstical for the rewrite: NO JSP ALLOWED. It's not allowed by the ISP.
    Now for the questions:
    - Could this be done using Java?
    - How could I initiate the Java app and pass it the parameters? (applet tag, access Java inside Perl, use Java Script somehow)
    - Will an applet tag even work for this since the final page is generated completely from other files?
    Thank you very much for your help.

    If your ISP don't support JSP / Servlets,
    1.use any server side technolgy, something like ASP.
    2.Read the files and transform them as Strings (or StringBuffers).
    3.Pass these Strings as parameters to the applet (if you are forced to use java technology, otherwise you can do it using ASP itself).
    4.Construct the required format (content) in your applet.
    Don't forget that the stuff will be in applet but not a complete web page. The ideal solution is asking your ISP to provide JSP engine.

  • Using commands for the web template in WAD

    Hi Experts,
            I have designed a web template for a scenario. As it contains lots of data, I have to give some filters such as drop-down etc to avoid the scrolling. In this case, while executing first time, the drop-down select the 'Show All Values' option.
           So , i try to use some commands, so that I can select the default values.
    PROCEDURE USED TO SELECT THE DEFAULT VALUES :
    -> In the drop-down, I used the command called " Set Filter Value for a characteristic[SET_SELECTION_STATE_SIMPLE].
    ->In the selection type, I choose the member name option so that I can able to select the values that are present in the characteristic.
          But while executing the template, the filter is taking the different value(single value only) irrespective to the given value in the command.
            So pls give me the solution for the problem. Also Give me a reply if there is any other possibility to restrict the data.
    With Regards,
    Yokesh Kumar.

    hi all,
    sorry to update you so late, because I can't log on SDN from time to time.
    the weird thing is that my peer can upload the picture successfully while I still can't see it in the list.
    I am handful, I'll do a research and update you guys later.
    thanks.
    Jennifer

  • How can I use java on the web?

    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    Im new in using java applet, threading and stuff like that :).
    And maybe I can make management systems in java language is this possible?
    thanks

    mshadows wrote:
    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    javascript is not a type of java. It is a separate language. What do you mean by "making websites". A website in its simplest form is just an HTML page. If you want to learn what's called a "server side web programming language", which will allow you to do things like retrieve data that a user entered into a form on an HTML page and store it in a database, then first you need to learn basic java, and then you need to learn basic HTML(and it would be beneficial to learn basic javascript although that's not mandatory), and then you need to learn "servlets+jsp"--which is the java version of a "server side web programming language". The easiest "server side web programming language" to learn and the one that is most popular is php.
    Some books you might consider:
    beginning Java: "Java2: A Beginner's Guide"
    beginning servlets+jsp: "Murach's Java servlets and JSP(2008 edition)" -- includes an introduction to HTML
    Im new in using java applet, threading and stuff like that :).OK. You don't need know applets or threading to learn servlets+jsp.
    And maybe I can make management systems in java language is this possible?
    Sure.
    Edited by: 7stud on Jun 6, 2008 10:17 PM

  • I want to use Java for dynamic web programming...

    And don't know what to learn, JSP or servlets or both. I'm guessing it would be best to learn both, but I don't want to buy two books. Are there any books that teach both fairly well?

    I don't know how it covers them I am not learning them at the moment.
    Why don't you try searching for JSP and/or Servlets at Amazon.co.uk, Doesn't the JSP and Servlet section of the java.sun.com also have recommended books?, I have just done that search at amazon.co.uk and found these three instantly...the top two have reviews and ratings from other people. There are MANY book websites out there, try searching on this as well.
    JSP, Servlets and MYSQL; Paperback ~ David Harms
    Java Servlet Programming (The Java Series); Paperback ~ Jason Hunter
    Java Servlet and JSP Cookbook; Paperback ~ Bruce W. Perry

  • Best way to draw a triangle for the web

    I want to draw a triangle using Java for the web and was wondering what would be the best and simplest way to do this. Any guidance and links would be much appreciated.

    The drawLine method of the Graphics class.Or the drawPolygon() method.

  • Exporting FCP 16:9 to QT for the web in 16:9?

    Hello everyone,
    I recently began doing my projects in 16:9 mode. I shoot them with my GL2's in 16:9, then capture to FCP as usual. FCP then automatically recognizes the 16:9 footage and adjusts everything perfectly for me. I figured out how to get the footage to DVDSP by 'forcing letterbox'. This plays the true 16:9 footage on a widescreen TV perfectly.
    Now, I've come to another bridge that I can't seem to cross... that is... exporting the video to QT for the web in 16:9. I did a lot of searching here and all of the topics related to this did not help me at all. So, what I'm going to do is explain what I used to do when I shot in 4:3 mode:
    1. In FCP... File>Export>QT Conversion
    2. Format: QT Movie> Options
    3. Settings> Sorenson Video 3
    4. Frame Rate>15
    5. Key Frames: Every 150 frames
    6. Compressor> Medium
    7. Data Rate: Automatic
    8. OK
    9. Sound>Settings>Mpeg-4 Audio, 16bit, Stereo
    10. OK
    11. Prepare for Internet Streaming> Fast Start
    12. OK
    13. SAVE
    This usually turns a full sized 5 minute clip into a nice little presentation for the web no larger than 35 or so MB's. You can see a boat load of files like that on my website at (www.buerhausdesign.com).
    Now, what I want to do is get a similar sized video for the web, only in 16:9 as I'm now shooting and editing in 16:9.
    Does anyone have step-by-step instructions on how to do this? I know it's possible as I see movie trailors in 16:9 all the time in QT.
    Any help would be appreciated:)
    Matt

    Nope, tried all of that. It stretches the image way beyond 16:9. Currently, if I export as a 4:3 file, the widescreen displays correctly, but I get two black bars at the top and bottom of the frame. Manually sizing to a 16:9 size, to say 720x404, stretches everything... including the unwanted black bars.
    When I export to DVDSP, the black bars go away when I 'force letterbox'. There's gotta be a way to get it to work in QT.

  • Save for the web colors

    I was having trouble with image colors when I used 'save for the web' and I found a couple of solutions in tech notes regarding embedded color profiles but there is some thing I just don't understand.
    It says:
    "To ensure that colors are consistent in Photoshop, ImageReady and the Save for the Web dialog box, use an embedded color profile for display in each, or preview the image in Photoshop using the monitors RGB color space. Note that if you use an embedded color profile for display, colors may appear incorrectly if you view the image in an application that cannot read color profiles."
    Can somebody give me the lowdown on what exactly a color profile is (what it does, when you should embed one etc) and some examples of the kind of application that can't read them i.e. if I send the photos via e-mail can the profile be read? put them on a web page?
    Thanks for any illumination!
    j.

    A profile is a file that decribes to applications that can read them the color and tonal characteristics of a particular device. A profile can also be a mathematical description of a particular RGB or CMYK Lab color space. You've probably seen RGB working spaces in Photoshop referred to in terms like sRGB, Adobe RGB, ProPhoto RGB, etc. Any application that is color managed and can read and use profiles needs a minimum of two profile to to the job - a source profile and a destination profile. When you're looking at images on your computer monitor, the source is your RGB working space and the destination is your specific monitor. Photoshop uses both the working space profile and the monitor profile to display your image correctly. Most other applications in Windows do not read profile and have to assume either "Monitor RGB" or sRGB as the source for the file. If your file is not one of those, then false asumptioins are made and the image does not appear correctly. Some web browsers like Firefox 3 and Apple Safari do read profiles but not necessarily by default. You have to turn the option in FF. Some email readers are color managed, others not.
    Profiles can be and usually are embedded in the document when you save it. Unless you have a good reason for not embedding a profile, it's almost always a good idea. It adds 4K to the file size and will let someone down the line who is using a color managed application see the file how you intended it. You have no control over the others, but that's life online. Currentlyl the best strategy is convert files destined for the web to sRGB and embed the profiles. That might change in the future, but it's a good place to be right now.

  • Save for the web jagged fonts nightmare

    Hi
    Can't export anti-aliased smooth fonts using save for the web. The fonts are jagged.
    How can save for the web the same smooth quality that I see on the screen?
    Using Illustrator CS6 on Mac OS X 10.8.3
    Thanks.

    What is the size of the art and are you enlargening it in the browser using CSS or manually adjusting the size?
    In both cases I am using save for web. In the first instance I am exporting at 100% size, 200% size in the next instance. If you are resizing in CSS/manually, export from Illy at the desired size.
    Mike

  • Good C++ Delelopers for the web forum

    Any one know of a good forum for people who use C++ for the web?

    Might want to try
    http://www.codeguru.com/
    I've always found answers there. Never tried it for web related C++ though. Good luck.
    Olivier

  • I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Is it necessary to add? If so, how do I add H Tags to iweb.

    I am running 10.6.8 and using iweb for my web site. After several SEO analysis they all indicate I need H1-6 header tags. After looking at the source code I see there are none in iweb. Are they necessary to add?  Why would one add these tags and how do I add H Tags to iweb? And are there examples to look at? I am slowly learning about simple web design and assumed that iweb was stand alone without having to write code. Is this one of the reasons iweb is no longer supported? Thanks for looking at this!

    A simple text page like this:
    Heading
        sub heading
              text paragraph ....
    Is traditionally represented by html tags like:
    <h1>Heading</h1>
         <h2>sub heading</h2>
              <p>text paragraph ... </p>
    I would guess that the use of h1-h6 tags helps search engines to understand the structure of a page as the tags imply a certain structure.
    This can be compared to more generic tags like <div> that could represent any kind of content - and may be what iWeb uses (you'll have to check yourself).
    I would generally recommend that you use some kind of up to date blog/site building tool, perhaps Wordpress or Squarespace (I haven't used either one myself) that support current web technologies - this should reduce your SEO issues and make it easier to properly support mobile/tablet users.

  • I've just bought a Macbook Pro 15" and I'm trying to use Photoshop, but the resolution its displaying the images at for 100% are too small. I have to design for the web, so need to be intricate with detail, but I'm finding it adjusts the resolution of the

    I've just bought a Macbook Pro 15" and I'm trying to use Photoshop, but the resolution its displaying the images at for 100% are too small. I have to design for the web, so need to be intricate with detail, but I'm finding it adjusts the resolution of the image right down. (I mean you can see the image clearly, but it's too small to edit). When I look at Safari and see a web page at 100% it's clear, but the same page displayed in Photoshop CC appears 50% of the size (even though it says it's 100%)   If I move the application window to another screen it adjusts it correctly  – leaving all the pallettes, menus and tools correctly sized as they are on the retina display   Is there some way to adjust the way Photoshop CC displays images so it is more consistent with what you actually see?   There doesn't seem to be any answer on the Adobe forum, so hopefully someone here can shed some light.  MacBook Pro with Retina display, 15", OS X Yosemite (10.10.2), Photoshop CC 2014

    I tested both ways. With "open in low resolution" ckecked the size of the images is cool, but it is low-resolution including Photoshop appearance.
    If "open in low resolution" is unckecked the appearance is good but the very small size.
    See the image below. It has 650 x 732 px, 72 dpi. The font of the text "Neste aniversário ..." is with 18pt.

Maybe you are looking for

  • AVCHD File Structure From MAC to PC

    Hello, I know this is sort of off topic but I need the expertise of this forum.... I am the videographer (mac user) for a speaking group and have to film speeches 5-7 minutes in length each week. The problem is how to get the videos to each person wi

  • URL Not Changing . . .

    I've posted on this before, to no avail. However, now I am experiencing the same problem that only my client was experiencing, so I have to ask again and hope for the best. The problem here is that the URL is not updating when I switch from page-to-p

  • Squiggly spell checking component

    Hi everyone, Following the release of Squiggly - the spell checker engine for mx components - I just realized a small Flex4/Spark component for using the spell checker with a TextFlow. The demo here: http://lafabrick.com/labz/pageLayout/squiggly/. So

  • Landscape keyboard becomes unresponsive

    When entering a text message and switching to landscape orientation, the keyboard locks up after every few keys. Pressing a shortcut word or backspace makes it work again for a few more keystrokes. Portrait mode works fine.

  • Satellite L300 - 1FP

    I have Satellite L300 - 1FP, and model number starts with PSLB8E and I can't find any downloads for it. Is there any compatible computer?