Help me. I am Beginner to RMI.

code on the server side:
rebind("rmi://192.168.41.30:1051/toaster",p1);
run it with:
rmirigistry &
java -Djava.rmi.server.hostname=192.168.41.30 ProductServer
then the error arised as follows:
java.rmi.ConnectException: Connection refused to host: 61.135.131.108; nested exception is:
java.net.ConnectException: Connection timed out
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.list(Unknown Source)
at java.rmi.Naming.list(Naming.java:188)
at TestB.main(TestB.java:9)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:122)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
... 6 more
does it related with policy???
and how to configure policy???
i am grateful for your help...

u r right.
java.rmi.registry.LocateRegistry.createRegistry(1999);
System.setProperty("javax.net.ssl.debug","all");
System.out.println("Constructing server implementation...");
ProductImpl prod1=new ProductImpl("Black Toaster");
ProductImpl prod2=new ProductImpl("Microwave Oven");
System.out.println("Binding server implementations to rmiregistry...");
Naming.rebind("rmi://192.168.41.30:1999/toaster",prod1);
//Naming.rebind("toaster",prod1);
//Naming.rebind("microwave",prod2);
Naming.rebind("rmi://192.168.41.30:1999/microwave",prod2);
System.out.println("Waiting for invocations from clients...");
this is right..
done well after specifying a port number and ipaddress.

Similar Messages

  • Help me to run this simple RMI example

    When i m running this example in standalone pc it works but while running on to different pc it gives error though I m giving the IP address from client of server.. If anyone can help me out plz help.
    Code:
    ReceiveMessageInterface
    import java.rmi.*;
    public interface ReceiveMessageInterface extends Remote
    void receiveMessage(String x) throws RemoteException;
    Server code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    import java.net.*;
    public class RmiServer extends java.rmi.server.UnicastRemoteObject
    implements ReceiveMessageInterface
    int thisPort;
    String thisAddress;
    Registry registry; // rmi registry for lookup the remote objects.
    // This method is called from the remote client by the RMI.
    // This is the implementation of the �ReceiveMessageInterface�.
    public void receiveMessage(String x) throws RemoteException
    System.out.println(x);
    public RmiServer() throws RemoteException
    try{
    // get the address of this host.
    thisAddress= (InetAddress.getLocalHost()).toString();
    catch(Exception e){
    throw new RemoteException("can't get inet address.");
    thisPort=3232; // this port(registry�s port)
    System.out.println("this address="+thisAddress+",port="+thisPort);
    try{
    // create the registry and bind the name and object.
    registry = LocateRegistry.createRegistry( thisPort );
    registry.rebind("rmiServer", this);
    catch(RemoteException e){
    throw e;
    static public void main(String args[])
    try{
    RmiServer s=new RmiServer();
    catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    Client code:
    import java.rmi.*;
    import java.rmi.registry.*;
    import java.net.*;
    public class RmiClient
    static public void main(String args[])
    ReceiveMessageInterface rmiServer;
    Registry registry;
    String serverAddress=args[0];
    String serverPort=args[1];
    String text=args[2];
    System.out.println("sending "+text+" to "+serverAddress+":"+serverPort);
    try{
    // get the �registry�
    registry=LocateRegistry.getRegistry(
    serverAddress,
    (new Integer(serverPort)).intValue()
    // look up the remote object
    rmiServer=
    (ReceiveMessageInterface)(registry.lookup("rmiServer"));
    // call the remote method
    rmiServer.receiveMessage(text);
    catch(RemoteException e){
    e.printStackTrace();
    catch(NotBoundException e){
    e.printStackTrace();
    }

    When we compile with rmic skeleton and stub get created then we hav to place stub at each client ???Your remote client applcation need only _Stub.class fiels.
    Is there way by which we can know how many clients are connected to the
    server and there IP address, can anyone give the code... I guess that you should use a RMI login/logout method to register/unregister your client connection information into a databse or a simple static Hashtable(Vector) object.

  • Help needed to move a java.rmi.Remote object.....

    Hi,
    I have an object extending java.rmi.Remote on a server. I want to get it onto a client (ie the actual object, not a reference to the object on the server).
    The catch (isn't there always one):
    The client must only get class definitions/interface definitions from the java.rmi.server.codebase
    (ie I don't want to use a network classloader).
    Anyone any ideas?
    Kev.

    If you have a class that implements java.rmi.Remote then the objects of that class by definition are available for Remote access (ie, they are passed by reference). Remote objects can't be passed by value. However, if you want objects of a particular class to be passed by value you could have the class implement java.io.Serializable instead of java.rmi.Remote.
    Hope this helps.

  • Beginner's RMI exception

    I'm running a variation of the Core Java beginner RMI program, which throws this exception:
    java.lang.NullPointerException
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at RecordImpl_Stub.getColumnNames(Unknown Source)
    at ClientDum.<init>(ClientDum.java:22)
    at ClientDum.main(ClientDum.java:33)
    colNames = null
    The server side is verified to bind to the registry: here's the code:import java.rmi.*;
    import java.rmi.server.*;
    public class ProductServer
    {  public static void main(String args[])
       {  try
          {  System.out.println
                ("Constructing server implementations...");
             RecordImpl p1
                = new RecordImpl("user-1");
             System.out.println
                ("Binding server implementations to registry...");
             Naming.rebind("FIRST", p1);
             System.out.println
                ("Waiting for invocations from clients...");
          catch(Exception e)
          {  System.out.println("Error: " + e);
    }I know I am getting past the security policy, because I've already seen and repaired those exceptions. Any ideas? Here's the client code:import java.util.*;
    import java.io.*;
    import java.rmi.*;
    import java.rmi.server.*;
    public class ClientDum implements Constants
      Vector allRecs;   //holds all the records retrieved from the server
      String[] colNames;
      Record rec;
      String user = null;
      ClientDum()
        System.setSecurityManager(new RMISecurityManager());
        String url = "rmi://localhost/";
        try
          Record rec = (Record)Naming.lookup(url +"FIRST");
          colNames =rec.getColumnNames("user");
          allRecs =rec.getRecords();
        catch (Exception e)
        e.printStackTrace();
        System.out.println("colNames = "+colNames);
      public static void main(String[] args)
      {new ClientDum();}
    }

    ps
    all my stubs and class files are in the same directory, and my policy file is set to AllPermission. I found two previous posts describing my exception, with those suggestions given.

  • Urgent help:send image over network using rmi

    hi all,
    i have few question about send image using rmi.
    1) should i use ByteArrayOutputStream to convert image into byte array before i send over network or just use fileinputstream to convert image into byte array like what i have done as below?
    public class RemoteServerImpl  extends UnicastRemoteObject implements RemoteServer
      public RemoteServerImpl() throws RemoteException
      public byte[] getimage() throws RemoteException
        try{
           // capture the whole screen
           BufferedImage screencapture = new Robot().createScreenCapture(new     Rectangle(Toolkit.getDefaultToolkit().getScreenSize()) );
           // Save as JPEG
           File file = new File("screencapture.jpg");
           ImageIO.write(screencapture, "jpg", file);
            byte[] fileByteContent = null;
           fileByteContent = getImageStream("screencapture.jpg");
           return fileByteContent;
        catch(IOException ex)
      public byte[] getImageStream(String fname) // local method
        String fileName = fname;
        FileInputStream fileInputStream = null;
        byte[] fileByteContent = null;
          try
            int count = 0;
            fileInputStream = new FileInputStream(fileName);  // Obtains input bytes from a file.
            fileByteContent = new byte[fileInputStream.available()]; // Assign size to byte array.
            while (fileInputStream.available()>0)   // Correcting file content bytes, and put them into the byte array.
               fileByteContent[count]=(byte)fileInputStream.read();
               count++;
           catch (IOException fnfe)
         return fileByteContent;           
    }2)if what i done is wrong,can somebody give me guide?else if correct ,then how can i rebuild the image from the byte array and put it in a JLable?i now must use FileOuputStream but how?can anyone answer me or simple code?
    thanks in advance..

    Hi! well a had the same problem sending an image trough RMI.. To solve this i just read the image file into a byte Array and send the array to the client, and then the client creates an imegeIcon from the byte Array containing the image.. Below is the example function ton read the file to a byte Array (on the server) and the function to convert it to a an imageIcon (on the client).
    //      Returns the contents of the file in a byte array.
        public static byte[] getBytesFromFile(File file) throws IOException {
            InputStream is = new FileInputStream(file);
            // Get the size of the file
            long length = file.length();
            // You cannot create an array using a long type.
            // It needs to be an int type.
            // Before converting to an int type, check
            // to ensure that file is not larger than Integer.MAX_VALUE.
            if (length > Integer.MAX_VALUE) {
                // File is too large
            // Create the byte array to hold the data
            byte[] bytes = new byte[(int)length];
            // Read in the bytes
            int offset = 0;
            int numRead = 0;
            while (offset < bytes.length
                   && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            // Ensure all the bytes have been read in
            if (offset < bytes.length) {
                throw new IOException("Could not completely read file "+file.getName());
            // Close the input stream and return bytes
            is.close();
            return bytes;
        }to use this function simply use something like this
    public byte[] getImage(){
    byte[] imageData;
              File file = new File("pic.jpg");
              // Change pic.jpg for the name of your file (duh)
              try{
                   imageData = getBytesFromFile(file);
                   // Send to client via RMI
                            return imageData;
              }catch(IOException ioe){
                           // Handle exception
                           return null; // or whatever you want..
    }and then on the client you could call a function like this
    public ImageIcon getImageFromServer(){
         try{
              // get the image from the RMI server
              byte[] imgBytes = myServerObject.getImage();
              // Create an imageIcon from the Array of bytes
              ImageIcon ii = new ImageIcon(imgBytes);
              return ii;
         }catch(Exception e){
              // Handle some error..
              // If yo get here probably something went wrong with the server
              // like File Not Found or something like that..
              e.printStackTrace();
              return null;
    }Hope it helps you..

  • Help for a baffled beginner

    Ive just installed Oracle Express to help me go through a phase test. Ive created 3 tables under the SYSTEM username that I started the database with. Ive populated the tables with some data
    Now whenever I try and enter any SELECT command it tells me      
    ORA-00942: table or view does not exist
    Now a quick look on google tells me this is most likley that I don't have permission...however, I can't see what I can do to change that, I am the only user. If I create a new admin and recreate the tables it tells me the same.
    Also, infuriatingly, it tells me that the 'show tables' is not a valid SQL command so I cannot make sure I am typing it correctly. Although obviously I have gone back into the object browser to check countless times.
    Please help me out! Im assuming its something small, but google is huge and I don't even know where to begin with this.
    Thanks
    Mike

    Im not using the command prompt, oracle express 10g's menu to create everything.
    However the sql for the existing tables is
    CREATE TABLE " Employee"
    (     "id" NUMBER NOT NULL ENABLE,
         "name" CHAR(100) NOT NULL ENABLE,
         CONSTRAINT " Employee_PK" PRIMARY KEY ("id") ENABLE
    CREATE TABLE "Car"
    (     "regNo" VARCHAR2(10) NOT NULL ENABLE,
         "distanceInKm" NUMBER NOT NULL ENABLE,
         "kmPerLiter" NUMBER NOT NULL ENABLE,
         CONSTRAINT "Car_PK" PRIMARY KEY ("regNo") ENABLE
    These are for the 2 tables I have managed to create under Mike.
    There is a 3rd with 2 foreign keys referencing the above tables and for some reaso, even tho it was possible before under SYSTEM, yet do not exist under Mike, I cannot recreate it
    When I log back in under system, the above two tables are still there (as I created them earlier) and also the one I mention above that I did successfully create under system
    CREATE TABLE "TravelCost"
    (     "journeyId" CHAR(10) NOT NULL ENABLE,
         "carRegNo" CHAR(10) NOT NULL ENABLE,
         "employeeId" CHAR(10) NOT NULL ENABLE,
         "occurred" DATE NOT NULL ENABLE,
         "distanceInKm" NUMBER NOT NULL ENABLE,
         CONSTRAINT "TravelCost_PK" PRIMARY KEY ("journeyId") ENABLE,
         CONSTRAINT "TRAVELCOST_FK" FOREIGN KEY ("carRegNo")
         REFERENCES "CAR" ("REGNO") ENABLE,
         CONSTRAINT "TRAVELCOST_FK2" FOREIGN KEY ("employeeId")
         REFERENCES "EMPLOYEE" ("ID") ENABLE
    But I constantly get the 'table doesnt exist'.
    Apologies for my wirting, Im in rush and I have a new wireless keyboard thats abysmal
    Edited by: user8946571 on Jan 4, 2010 10:58 AM
    Edited by: user8946571 on Jan 4, 2010 11:00 AM

  • Beginner running RMI example problem

    I am trying to test this RMI code from Thinking in java and it is giving this error
    Exception in thread "main" java.lang.NoClassDefFoundError: DispatchPerfectTime (
    wrong name: project3/rmi/DispatchPerfectTime)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    6)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    I compiled the 3 files below and also called rmic and created a stub and skeleton..... Only it doesnt run..
    Any ideas why ?
    INTERFACE
    package project3.rmi;
    import java.rmi.*;
    interface PerfectTimeI extends Remote
         long getPerfectTime() throws RemoteException;
    }Implementation of Remote interface
    package project3.rmi;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    import java.net.*;
    public class PerfectTime extends UnicastRemoteObject implements PerfectTimeI
         public long getPerfectTime() throws RemoteException
              return System.currentTimeMillis();
         //constructor to throw remote exceptions
         public PerfectTime() throws RemoteException
              //super(); called automatically
         //register for rmi server
         public static void main(String args[]) throws Exception
              LocateRegistry.createRegistry(2005);
              System.setSecurityManager(new RMISecurityManager());
              PerfectTime pt = new PerfectTime();
         Naming.rebind("//200.23.23.2:2005/PerfectTime",pt); //I put dummy IP instead of my real IP
              System.out.println("Ready to do time");
    }USING REMOTE OBJECT
    /**Using the remote object**/
    package project3.rmi;
    import java.rmi.*;
    public class DispatchPerfectTime
         public static void main(String args[]) throws Exception
              System.setSecurityManager(new RMISecurityManager());
              PerfectTimeI t = (PerfectTime)Naming.lookup("//200.23.23.2:2005/PerfectTime");
              for(int i =0;i<10;i++)
              System.out.println("Perfect Time is "+t.getPerfectTime());
    }

    I am just using another RMI example from class now...
    All files are compiling but this is error.....
    C:\>java -classpath c:\ RMIServer
    Starting Server
    Started Server...
    Binding to RMI Registry
    Error RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
    tion is:
    java.lang.ClassNotFoundException: RMIServer_Stub
    I doono if my host is correct...... I donno what to write in place of test... its some service??
    import java.rmi.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class RMIServer extends UnicastRemoteObject implements RMIInterface
      static String host = "rmi://IPAddress/test";
      static String data[] = {"c","c++","java"};
      public RMIServer() throws RemoteException
                super();
      //implement methods
      public int getNumData() throws RemoteException
                return data.length;
      public String getData(int index) throws RemoteException
              if(index>=0 && index<data.length)
                   return data[index];
              else
                   return "N/A";
      public static void main(String args[])
           RMIServer server;
           try{
                System.out.println("Starting Server");
                server = new RMIServer();
                System.out.println("Started Server...");
                  System.out.println("Binding to RMI Registry");
                Naming.rebind(host,server);
                System.out.println("Remote methods registered successfully");
           catch(Exception e){
                System.out.println("Error "+e.getMessage());
      }//main
    } //class

  • DIV Confusion... Basic help for a measly beginner

    Hi all..
    Tried   searching but couldn't find anything - perhaps due to my lack of   knowledge of what terms to search for, so apologies if something like   this has been posted :S
    I am making my first website   myself after watching and learning from others. Everything is going   great... except I am having trouble getting my footer div to stick to   the bottom of my browser window but still stick to the white content area. I have tried using fixes on the internet but I'm not quite sure where to put bits of code...
    You can view my site (in progress) here:
    http://westcoastbushire.com.au/home.php
    Can anyone help please?!

    Everything is going   great... except I am having trouble getting my footer div to stick to   the bottom of my browser window but still stick to the white content area. I have tried using fixes on the internet but I'm not quite sure where to put bits of code...
    If it is the footer you are concerned about then I suggest try the trick given in this article:
    <http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page>
    Let us know if this solved your problem.
    Good luck.

  • Help with program! (Beginner)

    Here is what I'm trying to do:
    lo : Smallest. Write a program that allows a user to enter a series of positive integers with a -99 to signal the end of the series. The program should then display the smallest of the numbers in the series. Do not use a bogus value for the smallest to begin the program. Use the first value in the data list (if any) to initialize your smallest. This program must have only one programmer-defined method other than main which outputs user directions to the console about how the program works (and that -99 is to be used to end the input). Note that an empty list is possible and should not confuse your program! After displaying directions to the console, use GUI for the remaining input and output. Try out your program on the following lists:
    10, 3, 8, 2, -99 (lo = 2)
    -99 (ouput should be: "no numbers, no lo")
    4, 6, 1, 106, 22, -99 (lo = 1)
    So far, I've established that...
    loop, probably do/while
    get input from user, input
    if input != "-99",
    set list[i] (array) = input
    if input == "-99"
    set list[i] = input (makes it easy to terminate your loop through the array and to tell if it is otherwise emtpy)
    sort through array, comparing two elements of the array, keep lowest and compare to next available, till -99 found
    print as necessary
    - This is what my friend has told me so far, but I'm not sure what he means by 'set list[i] (array) = unput.
    Please help! Either respond here or my screen name (AIM) is Bionix12

    Here's what I've got so far:
    import javax.swing.JOptionPane;
    public class IO {
         public static void main(String[]args){
              String dataString =
              JOptionPane.showInputDialog(null,
              "Enter an int value",
              "IO",
              JOptionPane.QUESTION_MESSAGE);
              int data = Integer.parseInt(dataString);
              int min = data;          
              do {
                   dataString = JOptionPane.showInputDialog(null,
                   "Enter an int value: \n (the program exits if the input is -99)",
                   "IO",
                   JOptionPane.QUESTION_MESSAGE);
                   data = Integer.parseInt(dataString);
                        if (data != -99 && data > min){
                        min = data
              while (number != -99) {
                   JOptionPane.showMessageDialog(null,
                   "The min value is " + data,
                   "IO",
                   JOptionPane.INFORMATION_MESSAGE);
    }

  • A little help with a design (Beginner)

    Hey, I just started flash today and im trying to make this
    "wave" of pictures for my website through flash, I made this
    picture in about 5 seconds so dont leave complaints please : D
    http://img148.imageshack.us/img148/3788/22347390ii7.gif
    i would like to insert pictures in the middle there that
    would follow that path and keep repeating, is there any way of
    doing this?
    -thanks in advance

    Hi Swordmaster93,
    Rovers15's suggestion to use Motion Guides would do exactly
    what you need for your slide.
    I don't know if the tutorial link he gave has this little bit
    of info, but just incase it doesnt....here it is...
    with motion guides, there is a separate option in your
    Properties Pannel, which allows for the movieClips to rotate
    according to the path it follows. Which is exactly what you want,
    im guessing.
    anyway, the option in the Properties Pannel is " Orient to
    path "
    hope that helps.

  • (beginner) Need help with a client [Beginner]

    Hi, i'm danny and i'm following tutorials and lessons, and i created my own server and i tried to make my own webclient. My Teacher send me a webclient and he said that i only have to change the ip adress into mines (runescapeworld143.zapto.org) and compile it. The whole problem is now my teacher is on holiday and i called him if he would help me he said that i must ask it to the forums of oracle, so here is my question.
    Ok the source is here if you wanna download it [http://updatedannyskape.webs.com/client.jar.src.zip]
    My teacher say's that the current ip = 188.165.201.65:port43594
    and you have to change it in you're ip adress (runescapeworld143.zapto.org)
    but the problem is now i searched the whole document for 188.165.201.65 but i can't find it, can somebody help me out where i can find this?
    I also tried to compile the source but there are over the 100 errors
    Maybe this is because i created my own compiler ?
    I don't know but here is the compiler code
    @echo off
    cd .
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -sourcepath scr/*.java
    pause[Compiler error picture|http://updatedannyskape.webs.com/error.png]
    I hope you are able to help me, Already thanks !
    Edited by: Codenowy on Aug 18, 2010 1:21 PM
    Edited by: Codenowy on Aug 18, 2010 1:22 PM

    Open your file in QuickTime Player then press command & J keys to access the Properties window.
    Click on *Video Track* then *Other Settings*.
    Actvate the checkbox next to *Cache (hint)*.

  • Help need to know about JSP-RMI connection

    Hi All...
    Can anyone send me any tutorial/link about JSP-RMI connection. I need to access a RMI server object from JSP page.Is it possible?
    Looking for your responds.....

    Hi ...
    I didn't get any reply from any one....
    Is it possible to make Java Server Pages and RMI work
    together -sure, jsp's can make requests to servlets which can then talk to remote objects, then a response can be sent back down to the jsp
    to invoke a method on a server object from a JSP? And
    if, does
    someone know of a good tutorial, article etc., on
    this matter?hmm, Google, JSP Tutorial, RMI Tutorial, etc.

  • Help for a complete beginner!

    Hello,
    I want to apologize in advance for how little I know on this topic, and about programming together. I am not asking for myself, but to give some advice to a young family member of mine. He works with a company that uses a ColdFusion website, and we were speaking the other day about how the company is looking to eventually hire a new ColdFusion programmer.
    Here is the problem for my nephew: he doesn't have any programming experience. He is very computer savvy for a young guy, and he is very interested in going after this, but he told me he doesn't know where to begin. I took the obvious course and said "aren't there such things as ColdFusion classes?" but he seems to think it is not so simple as that - like you can't just jump in as a total beginner into working with ColdFusion?
    So I thought I would do a little research. If you were just starting out, and were looking to eventually develop and program a coldfusion website, how would you start? What steps would you take (the more detailed the better)? Someone told me "he should start out by learning HTML", but if you could even break that down more - how would you go about learning HTML? If you have any more questions for me about my nephew, i'd be happy to answer them.
    Thanks!

    Learning HTML would be a good start in contextualising how web pages work, and therefore what ColdFusion code will be needing to do.
    FInding HTML tutorials is easy: just google "introduction to HTML" or "HTML tutorial" or something.  If you prefer printed books, there'll be a bunch of those available too (search Amazon).  I do not know which books are considered good or bad in this context, but the user comments and votes should be a good indication.
    As for learning ColdFusion, just leaping into a course might not be the best bet for your newphew.  Way back when I did the ColdFusion Fasttrack course without ever having used (or seen) CFML before, and found it easy, but I did have a background of doing the odd bit of programming, so I was at least familiar with basic principles.  If he doesn't have any pre-existing programming knowledge, it might not be the best way to start.
    The only printed CF book of note (that I'm aware of) is the CFWACK.  I've not looked at one for years, and cannot remember whether it's intended as a learning tool, or just as a reference.  Someone else can perhaps comment on that.
    There are a bunch of matches for "coldfusion tutorials" on Google, of varying age and quality: they're probably worth looking at though.
    If I was learning a new language, I'd just use online tutorials.  If I was going to be learning programming, though, I'd go do a general programming course (like at the local polytech or college or whatever) first.  The principles behind programming are more important than the language, IMO.
    Of course if he dives into CF and has questions to ask, he can always ask them here.
    Adam

  • Help for a cairngorm beginner!

    hi!
    I've looked for samples on Internet but I've found just the
    cairngorm store (src untraceables) and "Hello world" with SOAP.
    I understood just a minimum how Cairngorm works but i don't
    no what i've to put, where and how, to create a simple application.
    I'd like, for example, to add a evt using addCommand() of the
    Front Controller and implement the execute() method to do a work
    and put in place a Model Locator.
    Why not viewing a message on the screen when we click on a
    button?
    i think it will be a start point without calling a server nor
    services.
    I'll be very recognizing for your help.

    You should take a look at this
    http://www.cairngormdocs.org/tools/CairngormDiagramExplorer.swf

  • [Beginner] Need Help with my source [Beginner]

    Hi, i'm danny and i'm following tutorials and lessons, and i created my own server and i tried to make my own webclient. My Teacher send me a webclient and he said that i only have to change the ip adress into mines (runescapeworld143.zapto.org) and compile it. The whole problem is now my teacher is on holiday and i called him if he would help me he said that i must ask it to the forums of oracle, so here is my question.
    Ok the source is here if you wanna download it [http://updatedannyskape.webs.com/client.jar.src.zip]
    My teacher say's that the current ip = 188.165.201.65:port43594
    and you have to change it in you're ip adress (runescapeworld143.zapto.org)
    but the problem is now i searched the whole document for 188.165.201.65 but i can't find it, can somebody help me out where i can find this?
    I also tried to compile the source but there are over the 100 errors
    Maybe this is because i created my own compiler ?
    I don't know but here is the compiler code
    @echo off
    cd .
    "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" -sourcepath scr/*.java
    pause[Compiler error picture|http://updatedannyskape.webs.com/error.png]
    I hope you are able to help me, Already thanks !
    Edited by: Codenowy on Aug 18, 2010 1:21 PM
    Edited by: Codenowy on Aug 18, 2010 1:22 PM

    Or are there any files missing ?

Maybe you are looking for

  • Facing problem in iplanet pre populate adapter in OIM 11g r2

    We have deafult iplanet prepop adapter as iPlanet PP String. the default fields, i.e First Name, Last Name, email is getting populated from user form to process form. But we have a number of other attributes as well whose values need to be pre popula

  • Create print.css that repeats the content twice on page when printed

    Clear as mud, right?  I have a form that the user can fill in and then print to bring to the office.  They need two copies.  It fits on half of the page and could be printed twice on one page and then torn in half in the office.  This would save the

  • Need to stop android syncing

    Help! Previously plugged android phone into wife's Mac to get some charge on battery, Mistake obviously as it automatically synced her contacts. This was some months ago Yesterday updated android software and this has subsequently overwritten my wife

  • No sound after windows 10 install

    I installed windows 10 Enterprise on separate partition with windows 7 on a different partition it boots fine and lets me choose which system on boot.  Windows 7 works fine as always including sound, so that eliminates hardware issues, but when I boo

  • ABAP purchase / Goods receipt

    Hi ,   Actually i am trying to get tax% ,when working on   purchase order / goods receipt report. I am using tables , konv and konp with fields knumv ,knumh   but i'm not sure that whether i'm fetchin the right tax %. Any one can please help me. Actu