Java FX, Flash, Silverlight  long term viability ?....

What are your opinion about long term viability of Java FX, Silverlight, Flash...
Flash seems to be dead after Apple dropped it and numerous commercial website supported new format .. as advertised on apple site.
I know it's no JSF question but you must have evaluated above in last few months..
Edited by: munna_kaka_chotu on Jul 9, 2010 12:46 PM

I have no opinion about it. As a java web developer using JSF, I have nothing to do with all three of the technologies you listed.
But perhaps someone in the JavaFX forum has more to say about it? Just a thought.
[http://forums.sun.com/forum.jspa?forumID=932|http://forums.sun.com/forum.jspa?forumID=932]

Similar Messages

  • JATO Long-term Viability

    What is the long/short-term viability/supportability of the JATO framework? Would it be foolish to begin development of a large-scale effort on this platform?
    If not viable long-term, where is SUN going with these services?

    I had this same question, although I approached it more like: what's more likely to still be around 10 years from now: support for .NEFs or .DNGs?
    Remember, .NEF is not really a single format, but a format tied to a specific model of each camera. So it's not a question of whether .NEF support will be around, but D80 .NEF support, D90 .NEF support. D3 .NEF support, etc.
    Imagine the state of software 10 years from now...what are the odds that Windows / Mac / Photoshop (or any other software) is going to support a RAW image format from 10 years prior? Is Adobe  going to test every function of its software with every .NEF format Nikon ever created, or at some point are they going to start dropping support for older (read: obsolete) formats?
    On the other hand, .DNG is a single format regardless of camera make or model (and although there are versions of DNG, they are backward compatible). Also, Adobe has a lot of time, money, and pride invested in the DNG format, and I think they are in it for the long haul, if for no other reason than a self-serving one: if you were an Adobe product manager, would you rather support 1 DNG format, or 50 .NEF formats, 50 .CR2 formats, etc.
    So at the end of the day, I thought: if it's 2019 and I'm buying new software, is going to be more likely to support my 10-year-old D80 .NEF format, or is going to support the .DNG format that Adobe is still supporting?
    I decided to put my eggs in the Adobe basket. I'm already somewhat tied to them with Lightroom and Photoshop. But as a safety net, I *do* back up all .NEF images upon import, and I do export every finished image to .JPG.
    Other than having a crystal ball, I figured that's about the best I could do.

  • Long term viability of DNG

    I'm not sure if anyone can really answer this but if folks feel like giving their $.02 about this subject, I'd appreciate it.
    I'm a new LightRoom user and based on my earlier threads a few weeks back, I started using DNG as part of my workflow as opposed to just importing RAW files.  Based on various threads/posts in some photography forums, like dpreview, I'm not wondering about dng.  People have panned it and even went so far as dismiss the long term usage of it, likening it to the jpg2000 format that withered and died.
    Since I cannot go back to my NEF files once converted to DNG, I'm wondering if folks would like to chime in on  this, i.e., do you use DNG, are  you worried about adobe not happy with the adoption and possibly dropping it sometime in the future or are those concerns baseless?
    Thanks for any and all posts
    Mike

    I had this same question, although I approached it more like: what's more likely to still be around 10 years from now: support for .NEFs or .DNGs?
    Remember, .NEF is not really a single format, but a format tied to a specific model of each camera. So it's not a question of whether .NEF support will be around, but D80 .NEF support, D90 .NEF support. D3 .NEF support, etc.
    Imagine the state of software 10 years from now...what are the odds that Windows / Mac / Photoshop (or any other software) is going to support a RAW image format from 10 years prior? Is Adobe  going to test every function of its software with every .NEF format Nikon ever created, or at some point are they going to start dropping support for older (read: obsolete) formats?
    On the other hand, .DNG is a single format regardless of camera make or model (and although there are versions of DNG, they are backward compatible). Also, Adobe has a lot of time, money, and pride invested in the DNG format, and I think they are in it for the long haul, if for no other reason than a self-serving one: if you were an Adobe product manager, would you rather support 1 DNG format, or 50 .NEF formats, 50 .CR2 formats, etc.
    So at the end of the day, I thought: if it's 2019 and I'm buying new software, is going to be more likely to support my 10-year-old D80 .NEF format, or is going to support the .DNG format that Adobe is still supporting?
    I decided to put my eggs in the Adobe basket. I'm already somewhat tied to them with Lightroom and Photoshop. But as a safety net, I *do* back up all .NEF images upon import, and I do export every finished image to .JPG.
    Other than having a crystal ball, I figured that's about the best I could do.

  • External drives - long term viability

    Hello fellow FCP'ers...
    I am on my 4th 1TB external drive - and it is filling up quickly with my HD media.
    It's becoming a worrisome liability... does anyone have a plan for the future? What if one of these drives fails? I'm wondering how I "back up the back ups."
    I have a friend at a video house who says backing up on tape is the best solution - wouldn't that be extremely costly to back a full terabyte of HD video?
    Any suggestions are greatly appreciated,
    Cheers,
    Paul

    Actually, I don't wait for the first one to fill up. I have about three levels of redundancy for all my important data, as well as having it all living on a RAID 6 where I work. That's where I use everything, but whenever I save something important, I also save it on a hard drive, and a compressed version on a DVD and a flash drive. The compressed versions are a fail safe. I can't really use them, but in a pinch, if everything else got lost (hardly possible…, but possible) then at least I can have a delivery version if needed.
    I also don't keep everything in the same physical space. Some of it I keep at home, some I keep on my person, and some I keep on hard drives that travel with me, and of course the masters are at work on the SAN.
    What failed on your drive? It's usually the power supply, especially if you just bought it. If it's a Lacie, they have notoriously bad power supplies. If you just buy another one for $16 (or get them to send you another one for free) you'll most likely be all set. As well, the chip boards in LaCies are not very good either, so if you have more than one, you might be able to use the chip board from one on the broken one long enough to transfer the information.

  • Using flash drives for long-term backups

    I use a USB flash drive to backup my mom's iPhoto Library. I've heard, however, that flash drives are not reliable for long-term backups. Is this true? If so, what is the best alternative?

    Ian Bickerstaffe wrote:
    Hello VK,
    If you had a 5Gb flash drive and a DVD - Which would be the safest, long term?
    I have seen several DVD's that simply won't work after only a few years.
    yes, I'm not a fan of DVD-Rs either. they do go bad pretty quickly (especially cheap ones) - quicker than flash drives in my experience. Personally, i only use regular external drives (and lately cloud storage) for backups.
    Regards.
    Ian.

  • Long term video storage on flash drive camcorders?

    I love the new iMovie '08... I'm a professional video editor, and for "real" editing it is fairly useless, but as a quick and easy way to take my home movies, throw them together incredibly quickly, and post them on the web, it's sheer brilliance. I especially love the ability to load in clips from a camcorder the way you'd do still footage in iPhoto...
    But before I buy a flash or hdd based camcorder, anyone have suggestions for long term storage? Let's say my grandkids will want to watch the footage 50 years from now, like I watch my grandparent's old 8mm filmstrips.
    Is importing every single frame and storing them on a hard drive really the only way to do it? Or are there better options? (And before you suggest burning to a DVD, I consider that temporary storage, with a shelf life of 10 years if you're lucky.)
    Any ideas?

    I'm with Kirk's strategy...
    magnetic tape has a >70y track record.. ( http://en.wikipedia.org/wiki/Reel-to-reelaudio_taperecording .. gosh, a German invention...) you have some options to break it (put tapes on speakers, CRTs, .... ), but usually, it is a very reliable media.
    dvds...
    some of my first homebrewn disks are.. +digital nirvana+ ... just simple bright sunlight 'burned' them .. first commercial CDs could get rosty...
    just to mention that: commercial disks are 'mechanical' done, glas master + 'pits' pressed in the dye.. homebrewn stuff is 'changing the polarized reflection behavior of laser light'... (does this work anyhow )
    latest news from here: in some German boards, people complain commercial disks 'get purple' ... the 'plastics' of the disks degrades somehow, changes the color = disk unreadable...
    on boards with a less technical attitude, it is discussed, that we live in the 'lost area'... in a few 100 years, there'll be no documents of daily life, no 'manuscripts' of authors.. (e.g. Stephen King can read his first novels only in Print.. his 'original' floppies, including the process of writing, are 'useless' ..), ... any chemical film, older books (newer paper, ≤150y, degrades due to changed manufacturing ..) are readable..
    Ken Burns would have trouble to produce a 'The War, pt. II' in 2200 ...

  • Flash no longer works in Chrome

    I was playing apps on facebook on a Chrome browser last night, when at about midnight (cst) Flash crashed.  No problem, usually I just refresh & it's fine.  Not last night.  I uninstalled & reinstalled six times.  No luck.  Absolutely no Flash working on Chrome.  I switched to IE8, where it does crash more often than it used to on Chrome, but was still working after one uninstall/reinstall.  Reading the forums, I got so confused, I don't know what to do.  I don't understand all the technical terms.  I gather from reading that a new version was released, which appears to be the problem.  My computer is 64-bit, which I am aware is the problem causing the crashes.  Can I get some help in plain-English-computer-idiot?  Please.  I miss my farmville & my food spoiled in cafe world. 
    thanks,
    Pam (dewolf99)

    hey, thanks for getting back to me so fast. 
    Guess what?  My computer-genius son is down for the weekend, and fixed whatever I did wrong.  He said that while Chrome appeared to be closed, there were still Chrome.exe processes remaining.  As a result, when I tried to install Flash, it would install incorrectly...telling me the download was successful, while in reality it wasn't. 
    Let me know if you still want that info, I can still post it if you want me to.
    Thanks, Pam (dewolf99)
    Date: Sat, 12 Jun 2010 12:23:28 -0600
    From: [email protected]
    To: [email protected]
    Subject: Flash no longer works in Chrome
    Hi, thanks for starting your thread:-) Yes it is confusing, I agree. Some threads are more so and I didn't want you to get mixed up in those.
    Please post back what operating system you are using, Windows XP, ??. Also since your system is a 64bit, you always need to use the 32bit browser, which I'm sure you are aware of.
    In order to save you some time, go to C:\Windows\SysWOW64\Macromed\Flash  Right click on Flash and Open the folder. Then post back all files listed there. The files NPSWF you will need to right click on each one and then click on Properties in order to obtain the version numbers.
    If you need direction on how to get to the Flash folder let me know.
    Keep in mind also, that since Adobe come out with an update for Flash Player, some of the websites may be updating as well. Hopefully it was just a glitch and nothing wrong with your computer Flash Player. We'll see.
    Thanks,
    eidnolb
    >

  • I am trying to print redplum coupons and I can't, help.  I have updated java, adobe flash, and made sure my printer was set on default.  I am not sure what I am doing wrong.  I have contacted redplum and no one will help.

    I am trying to print redplum coupons and I can't, help.  I have updated java, adobe flash, and made sure my printer was set on default.  I am not sure what I am doing wrong.  I have contacted redplum and no one will help.

    No Apple response???  Redplum/Valassis will not help either.  I searched, using the cups error message and though it is Unbuntu, same error so maybe useful...only problem: details would not display unless I join Unbuntu forum.  What a pain to do anything with my Mac or find any help.  I honestly regret buying this buggy OS.
    Anyway, here is what I found, FYI:
    http://ubuntuforums.org/showthread.php?t=483415
    As the old saying goes: when in doubt, consult the manual. The problem appears to be that I added the printer using the KDE Add Printer Wizard. It was automatically given a "socket" URI instead of an "lpd" one. When I:
    - altered the printer settings at http://localhost:631 (the CUPS admin page) as instructed in the manual for the printer, and
    - copied the PPD file into a second place on the hard drive (as instructed on ubunutuforums, see the link above)
    ..everything started working.
    It's still slower than windows, but I can live with that
    Probably a simple fix. Change the socket I.P. to match the printer I.P. like this:
    socket://192.168.1.86:9100. The thing I'm concerned with using socket:// is that AFAIK the printer I.P. must not change. In my case I'm able to assign a static I.P. address to the printer but it's something to consider.
    I found that the only thing I needed to do was change socket to lpd (and remove :9100 off the end as well). See Solving Ubuntu printer “broken pipe” problem (DocuPrint C525A) . BTW thanks for steering me in the right direction - very grateful.      
    Solving Ubuntu printer “broken pipe” problem (DocuPrint C525A)
    Posted on November 25, 2008
    Are you having a problem with your printer under the latest versions of Ubuntu (perhaps it worked under an older version)? Are you able to print short documents, but not longer, or more graphics-intensive, documents? (e.g. the unfortunate people at http://ubuntuforums.org/showthread.php?t=625493). Do they sit there as Processing for ages and then switch to Held? If you have the same problem I had the solution I tried may work for you too. Firstly, check your cups error log:
    sudo gedit /var/log/cups/error_log
    If you see anything like the following, the solution may be simple:
    [Job 201] Unable to write print data: Broken pipe
    PID 13359 (/usr/lib/cups/backend/socket) stopped with status 1!
    System > Administration > Printing and right click on your printer, selecting Properties. Settings > Device URI
    If you see something like socket://your_printer_ip_address:9100 just change socket to lpd and remove the :9100 off the end. Then click on apply.
    Apparently lpd is a more modern protocol which works with most printers whereas socket is more raw (and potentially faster but riskier in a network situation). Somewhere along the line, the default Ubuntu/Gnome setup for networked printers shifted from lpd to socket. Some primitive printers will have benefited whereas a larger number of more modern printers will have suffered.
    Please correct me if I am wrong (which is highly possible) but the underlying problem could be that socket may make the printer wait a long time for a large file to be processed ready for printing. Some printers, such as the Fuji Xerox DocuPrint C525A, may drop the socket if things take too long to start coming through.
    Changing timeout settings might work but lpd is better than socket so it is the preferred solution in any case.
    If this works for you, please leave a comment to let others know (ideally with a description of the printer and Ubuntu version). Printer may be relevant if it doesn’t support the direct stream protocol properly. NB I may take a while to let your comment through because of the volume of spam. Sorry about that.
    Finally, thanks to sphilli8 for the steer in the right direction at http://ubuntuforums.org/showthread.php?p=6245626.
          http://ubuntuforums.org/showthread.php?t=483415

  • Long term image storage

    I know most would have thought about this subject but what are people using for long term image storage. I am getting toward 35gigs of images and for a long time used an external Firewire Mirror RAID to ensure I do not put my images at risk.
    But this is not enough anymore!
    1. It's still a single file system that can be damaged by any rouge app or action, as all actions are duplicated onto all the disk in the RAID set.
    2. (1) Does not solve the problem is being able to store a duplicate in a fire/water/offsite location.
    3. HDs fail and the RAID goes someway to solve this, but it's intensely stressful when a disk fails.
    4. Running periodical backups is very painful when dealing with such a large number of images.
    I am not a Pro and I am in a family environment but we list to use Aperture as it offers more than iPhoto. But the problem of long term image storage must be an issue what every the application being used.
    I am looking forward to see what TimeMachine will do for me in OS 10.5, but this does not solve (2)
    I have looked at the iomega Rev drive as a possible solution, with 35gb or 70gb per cartidge, and more importantly, 30 years expected data life. The price is a little expensive but I cannot find an alternative for image vaults
    I have a minor problem with iomega in the long term (>15 years) viability of the company, they seem to have just ventured into the online email security for new revenue, which suggests to me they are are not able to improve their positon on storage media.
    I have tried giving writing DVD-DL a go but that is just unworkable for me, also I cannot get anyone to commit to how long the data will be readable.

    I use a combination based on a couple important principals. The first is "you can't backup enough". Second principal is "nothing is reliable". Third is "you will screw it up". You being the person trying to back things up. The final one is "things will go bad just when you thought everything was perfect".
    The basic gist is backing up needs to be reliable, mostly automatic, redundant, and across varied media.
    I have 40K RAW images in my library. There are five copies of every RAW file I've ever taken spread across three different hard drive volumes and CD/DVD's. There are three copies of every .psd file spread across two different hard drive volumes and CD/DVD's. My two RAID 0 volumes are connected all the time and backed up every night. My RAID 5 volume is only connected when I do a backup on that which is about once a week. The CD/DVD's are made every month on everything that's new.
    I have over 100 CD/DVD's and am considering remaking those read only products using the latest equipment I have. I'm seriously considering loading my entire RAW library onto a site like Smugmug in jpeg form. That would give me a worse case scenario loss recovery capability.
    In the mean time, my CD/DVD's are store off site at a friends house.
    Cheers

  • My long-term Goal

    Iam a java beginer,just I can develop simple java applications.
    But I want to be an expert JSP web developer .
    What are the things that I should do, the techniques that I should study and what are the short-tearm goals that I should achieve to accomplish my long-term goal . What the time and the experiences that are needed to achieve my goal?

    Write your goal down and yes a technical architect would be the correct goal to achive as a java developer. Then write down what price you will have to pay to achive it. I'm working towards that same goal myself and I asked the people that had already achieved what I was trying to do and then I wrote what they said down as my plan.
    Basically, it's as follows and it's the same in any profession:
    1.) Pick something you enjoy doing. I assume you like programming as more than a job. If you don't do this, you won't be able to get through the inevitable problems and frustrations that occur in the daily work.
    2.) Put in extra time everyday towards your goal. It could be learning a new technology like Hibernate or Ajax or whatever. Set goals to achive certifications or accomplishments at work. 40 hours a week is for survival, anything over that puts you on the side of the angels. The top java devs put in an extra 2-3 hours of self-study daily. They don't quit this after 6 months either.
    3.)Don't quit on your plan.
    4.)I don't like to set timelines for this, but I would think in 3 to 5 years you will be at the technical architect level.
    HTH,
    James

  • Long-Term or Short Term Connection

    I am reading the tutorial about database connection pool.(http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Resources3.html#65118) I just wonder when I should use Long-Term Connections and Short-Term Connections.
    My understanding is:
    1) Stateless Session Bean uses Short-Term Connection.
    2) Stateful Session Bean and Bean-Managed Entity Bean uses Long-Term Connection. Is that right? Thanks.

    If you mean a stateless bean will use a shorter connection than a session bean (stateless) ...then I see what you are driving at, but no ...I would disagree.
    In the stateless bean you might get a connection from the pool, use it for those few methods, then release it. That is probably obvious given the nature of a stateless session bean.
    However, in a statefull session bean ...even though you are letting the user hold onto the session bean for a long while ...you don't really want to assign them a permanent connection for that whole session. How many actual db queries will they make in an hour? One? Two? ...Ten? Even if that was fifty ...I think that would amount to less than a minute where the bean actually required the connection. Its an awful waste to hold it open and tied up for an hour isn't it?
    Your connection management should be the same as the statless bean. When a method that interacts with the db is invoked by the client ...get a connection from the pool, use it ...and release it back to the pool when the method(s) end(s). Same with an entity bean too, I would say.
    Your session bean is a business tier for business logic. Don't think it represents a solid connection to a database. It just connects when it needs to do some db stuff and then lets go of connections when its done ...immediately. The fact that it is a permanent object to the client in terms of EJB lifecycle is irrelevent to its connection to the database.
    Any disputes?

  • I am a long-term user of Lightroom as a standalone product with a perpetual licence. As a retired person on limited income, it is very disappointing to me that Adobe have introduced the 'Creative Cloud' (CC) subscription service in order for me to be able

    I am a long-term user of Lightroom as a standalone product with a perpetual licence. As a retired person on limited income, it is very disappointing to me that Adobe have introduced the 'Creative Cloud' (CC) subscription service in order for me to be able to continue upgrading this excellent product. It will be for me too expensive at the minimum cost of £9 per month. The additional services that CC brings are personally of no relevance or usefulness. Adobe should be prepared to support existing users who are, like myself, non commercial, amateur photographers by giving them the simple opportunity to upgrade to Lightroom 6 as a standalone, perpetual licence product. As a member of a camera club I know my co-members who use Lightroom are equally disappointed by this move to a subscription-only service.

    john beardsworth wrote:
    John Waller wrote:
    However, Adobe will soon introduce Cloud only features into Lightroom CC for which LR6 (perpetual license) owners will have to wait until LR7 (paid upgrade).
    That is possible, John, but it is only speculation on your part. Might, not will.
    kwdaves wrote:
    There is a "Lightroom 6" upgrade available for US $79 if you have a valid license for any of the earlier versions. From what I can tell, the only difference between Lightroom 6 Full, Lightroom 6 Upgrade and LightroomCC is in the license. The download file is the same.
    Other differences - with CC you get LrMobile/LrWeb and they throw in a free copy of Photoshop too.
    Yes, but when I bought my standalone license and clicked on the "Download" button it took me to the LightroomCC page. The downloaded file is named Lightroom 6, but in the CC app the installed program is LightroomCC (2015).

  • Server Java - Client Flash, there is no IP,  Why?

    Hi Folks!
    I apologize for my English writting is not my mother tongue.
    Well, I hope to able to explain my problem.
    I have a Server of sockets made in Java and a Flash client (it's a simple Chat real-time). Everything goes great when my server is activated and when I excecute SWF Client: We can chat and there is not problem because I work XML Standard with. Flash receives XML file from Server Java that it sends to all clients connected.
    Each SWF client connected is showed at CMD Console (by the way I'm working in WINDOWS plataform) and it shows Client's IP and connection moment.
    The problem come out when I use a browser (anyone: IE, FireFox, Opera, etc) to open my SWF Client, like should be, but there is not connection and CMD Console shows something like this:
    Cliente -> 0:0:0:0:0:0:0:1 IP , Conexion [...]Someone knows wich would be the problem?!!
    Heres the code of my classes
    import java.net.*;
    import java.io.*;
    import java.util.*;
    * A MEJORAR
    * 1. Configurable. Tomar datos desde consola.
    * DATOS
    * XXXX puerto
    * 2. Escanear el puerto para comprobar que esta libre.
    * Libre: continua y reserva.
    * Ocupado: Indicar que esta ya reservado el puerto.
    * Dar opcion a realizar un escaneo de puertos para seleccionar un puerto seguro y libre.
    * Tomar el 1er puerto libre, reservarlo e indicar cual es.
    * 3. Validar la IP del usuario para que solo tenga UNA SOLA SESION DE CHAT
    * 4. Generar un XML en un directorio con los parametros de conexion (PUERTO, IP, Dominio, etc)
    * cuando el servidor sea iniciado. Y debe ser borrado cuando se "tumbe".
    * Asi todos los clientes tomaran el XML generado por el servidor y podran conectarse sin
    * problemas de reconfiguracion o modificacion al codigo de FLASH.
    public class BlueServer {
    static Vector clientList = new Vector(); // Vector/array que guardara los clientes conectados
    static PrintWriter screenOut = new PrintWriter(System.out, true); // Abreviar la salida en pantalla
    public static int PORT; // Puerto al que daremos servicio
    * Clase principal BlueServer
    public static void main(String[] args) throws IOException {
    ServerSocket serverSocket = null; // Nuestro socket SERVIDOR
    boolean listening = true; // Bandera del SERVIDOR para estar simpre a la escucha
    Thread tempThread; // Thread/Hilo de proceso
    BlueClientThread tempClient; // Hilo temporal del clietne para asignar el nombre "BlueClientThread"
    int currentNode; // En caso de ser necesario para saber en que nodo se esta trabajando
    Date horaDeInicio = new Date(); // La hora de ACTIVACION del servidor
    screenOut.println("\n\n\n**************************************************************");
    screenOut.println("BlueServer v0.01\n\n");
    screenOut.println("BlueServer es un servidor de sockets para multiples clientes ");
    screenOut.println("desarrollados en JAVA o FLASH.\n");
    screenOut.println("Basado en el estandar XML administra los mensajes recibidos");
    screenOut.println("hacia todos los clientes conectados.\n");
    screenOut.println("Primera version BETA.");
    screenOut.println(" Jun '08 by Ralph Moran");
    screenOut.println("**************************************************************\n\n\n");
    * Es necesario al menos 1 argumento que defina el nuemero de puerto.
    if ( args.length >= 1 ){
    PORT = new Integer(args[0]); // Numero de puerto que se reservara
    * Se intenta crear el socket SERVIDOR que estara dando servicio a los clientes FLASH
    * en el numero de puerto PORT.
    try{
    serverSocket = new ServerSocket(PORT);
    }catch(IOException e){
    System.err.println("No se puede escuchar el puerto: "+PORT);
    System.exit(-1);
    // Mensaje de activacion sin problemas
    screenOut.println("Servidor BlueServer v0.01 activado en puerto "+PORT+".\n");
    screenOut.println("ADMINISTRADOR");
    screenOut.println("Hora de activacion: " + horaDeInicio.toString());
    screenOut.println("..............................................................\n\n");
    * Comienza a la escucha de cualquier cliente FLASH/JAVA que se conecte a PORT
    while (listening){
    tempClient = new BlueClientThread( serverSocket.accept() );
    clientList.add(tempClient);
    tempThread = new Thread(tempClient);
    tempThread.start();
    * Cerramos la conexion del SERVIDOR
    serverSocket.close();
    }else{
    * En caso de NO traer los argumentos necesarios (PUERTO, etc)
    screenOut.println(" ..............................................................\n\n");
    screenOut.println("\n\n\n ERROR: Numero incorrecto de argumentos/parametros.\n");
    screenOut.println(" EJECUCION\n java BlueServer <puerto>\n");
    screenOut.println(" Donde <puerto> es un puerto no reservado y debe ser mayor a 1024 para que el");
    screenOut.println(" servidor comience a escuchar.\n\n\n");
    screenOut.println(" ..............................................................\n\n");
    System.exit(-1);
    * Metodo que envia el mensaje recibido del cliente a TODOS los clientes conectados.
    * Usa el metodo send( String msg ) de la clase Thread BlueClientThread
    static void sendToAllClients(String message){
    int i;
    BlueClientThread foo;
    //BlueClientThread fooip;
    BlueClientThread tempClient;
    for ( i=0; i<clientList.size(); ++i ){
    foo = (BlueClientThread)clientList.get(i);
    foo.send(message);
    * Metodo que borra de nuestro Vector clientList todo rastro del CLIENTE (IP, HostName, etc)
    static void deleteClient(BlueClientThread deadClient){
    int num;
    Date horaConexion = new Date();
    screenOut.println("ClienteIP -> "+ deadClient.clientIP + ", Desconexion -> " + horaConexion.toString());
    num = clientList.indexOf(deadClient);
    clientList.remove(num);
    * Clase BlueClientThread que deriba/hereda de la clase Padre Thread.
    * Generamos nuestra propa clase con metodos personalizados aprovechando metodos heredados.
    * METODOS PERSONALIZADOS
    * BlueClientThread.send(String msg);
    * Envia un mensaje a un cliente especifico.
    * Cada Hilo de Cliente se encarga de enviar el mensaje recibido a TODOS LOS DEMAS CLIENTES
    class BlueClientThread extends Thread {
    PrintWriter screenOut = new PrintWriter(System.out, true);
    private Socket socket = null;
    public String clientIP;
    public PrintWriter out;
    public BufferedReader in;
    * Todos los Threads se llamaran BlueClientThread
    public BlueClientThread(Socket socket){
    super("BlueClientThread");
    this.socket = socket;
    * Ejecucion del Thread
    public void run(){
    clientIP = socket.getInetAddress().getHostAddress(); // Tomamos la IP del cliente
    Date horaConexion = new Date(); // Determinamos el instante de conexion
    // Indicamos que IP se conecto y el instante en que fue
    screenOut.println("ClienteIP -> "+ clientIP + ", Conexion -> " + horaConexion.toString());
    // Al conectarse el cliente mandar aviso a todos los CONECTADOS
    //BlueServer.sendToAllClients("<doc><mensaje from=\"Nuevo\">Otro conectado</mensaje></doc>");
    * Intentamos tomar los Stream de Lectura y Escritura del Cliente conectado
    try{
    out = new PrintWriter(socket.getOutputStream(), true);
    in = new BufferedReader (new InputStreamReader(socket.getInputStream()));
    String inputLine;
    // Array que tomara cada uno de los caracteres del mensaje
    char buf[] = new char[1];
    * El Thread del cliente comienza a escuchar TODOS los mensajes que su cliente
    * envia, este Thread se encarga de enviar el a todos los demas clientes conectados.
    while ( in.read(buf, 0 ,1)!= -1 ){ // Siempre es diferente de -1 por que nuestro array se esta
    // validando completamente, esto es que se esta tomando el
    // el largo del array y no alguna posicion dentro de este.
    inputLine = "";
    // En caso que exista mas de 1 mensaje solo se toma el primero
    while( buf[0]!='\u0000' ){
    inputLine = inputLine + buf[0];
    in.read(buf, 0 ,1);
    // Solo mandar el mensaje que fue recibido del cliente
    inputLine = inputLine + '\u0000';
    // Va el mensaje a TODOS LOS CLIENTES
    BlueServer.sendToAllClients(inputLine);
    BlueServer.deleteClient(this); // Se manda eliminar TODO rastro del cliente conectado (IP, HostNAme, etc)
    in.close(); // Cerramos Stream de Lectura
    out.close(); // Cerramos Stream de Escritura
    socket.close(); // Cerramos el socket del CLIENTE
    }catch(IOException e){
    e.printStackTrace();
    * Mandar mensaje
    public void send(String message){
    out.println(message);
    } THANK YOU SO MUCH!
    I hope your help.
    *{color:#993300}Ralph Moran{color}*

    Hi,
    The "There is no process to read data written to a pipe" error is an
    AIX-specific error message, which lies in the native method
    implementation of the corresponding Java code.
    It happens when the message written to a pipe is
    not read by any process. When plenty of requests are sent to the
    accepting side, the accepting side might fail to read the request
    because of timeouts, blocked threads or other reasons, and then this
    exception is thrown.
    #1289145    Axis adapter's connection timeout value setting
    http://www.ibm.com/developerworks/aix/library/au-aix-javatraps/index.html
    Regards,
    Aidan

  • HT3053 Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable?

    Can I run my MacBook Pro Late 2008 without battery forever? Is it bad in long term or anything? Does it make the system less stable?
    My battery got swollen (and I unfortunately noticed it very late and might have be running with it for months, which potentially explains all the crashes everyday and the trackpad not working anymore, the Apple test also says I have a bar of ram broken...) and I had to remove it because the back pannel did not close anymore... Can I still use my MBP normally forever that way? I was planning on buying a new mac anyway but maybe waiting for the next iMac upgrade in the year... Should I wait?

    Other than the system shutting down instantly if you have a power outage, whcih could corrupt the OS. Nothing else bad will happen.

  • I'm an American living on a timed (though long-term) assignment in Ireland. I have both American and Irish bank accounts and addresses. I have two Qs. 1. Can I use the US Adobe site when in Ireland? Or will my physical location prevent me from doing so? 2

    I'm an American living on a timed (though long-term) assignment in Ireland. I have both American and Irish bank accounts and addresses. I have two Qs. 1. Can I use the US Adobe site when in Ireland? Or will my physical location prevent me from doing so? 2. I am working for a not-for-profit organization. Is there a special pricing plan for non-profits, similar to the plans for students, small business, etc? Thanks for whatever help you can give me. (P.S. As a potential customer and past user of Adobe products for 15  years, I find it INCREDIBLY FRUSTRATING that I cannot speak with any Adobe representative, but am continually re-routed instead to a public forum to get what I hope will be accurate information. Not good, Adobe. Your products are amazing. Your customer service leaves a lot to be desired. I don't mean that with disrespect, but as honest feedback.)

    Hi bookchic
    Thanks for your feedback.
    Non-profit pricing is available to eligible institutions via the VIP program which is sold by resellers - see Eligibility guide
    For details of resellers please check here: Adobe Platinum Partners – Value Incentive Plan
    If you wish to purchase an individual plan via Adobe.com the country of your Adobe ID will determine which site you order from.
    Kind regards
    Bev

Maybe you are looking for

  • Error lookup EntityManager on OC4J 10.1.3.1.0

    Hi, I've just upgraded my development environment from 10.1.3.0.0 to 10.1.3.1.0. I'm heaving trouble in this version when I try to lookup a JPA EntityManager using JNDI. I got following code fragment from the howto guides from 10.1.3.0, and they work

  • MEDRUCK Line ITEM_LINE_2F and ITEM_LINE_3F

    In the SAP script form MEDRUCK there are two elements ITEM_LINE_2F and ITEM_LINE_3F. normally it will print only the second element ITEM_LINE_3F to inform that quantity and unit of quantity is ordered. If there is a difference in the unit of quantity

  • Using a Stored Procedure with the DBUM connector

    Hello, I am a new to the Oracle Identity Manager. The system I am running on is Windows Server 2008. I have recently installed version 11.1.1.3.0 of the Identity and Access Management suite, along with the appropriate components. I am using an 11g R2

  • Insert flex component in flash .fla file

    hello, Is it possible to dynamically load a flex component, compiled as a swf file into a .fla file. Originally, this flex component can be loaded as a standalone flex application with parameters to connect to the appropriate server. But now a custom

  • IDoc number generation is random

    We are trying to have a ALE-IDoc setup such that IDoc gets written as a text file to a application server directory. When we defined the port, we defined it as a file port. In the file port, we specified a folder on the SAP application server, where