Why learn Java if you know ColdFusion?

ColdFusion is awesome for my work. I can make anything I want with it and seeing as 99% of my work is making web applications, I haven't needed to look elsewhere.
I was just wondering why anyone would need to learn Java, if you already know ColdFusion... I understand that ColdFusion runs on Java, but is there anything special I could do with Java that is not possible in ColdFusion for use in websites?
It intrigues me because I have to cover the work of an ASP.NET developer, and when I was looking at his C# code (which looked very similar to Java) it made me cry to think people make websites in this way. Compared to ColdFusion it looks archaic but then I remember that CF works with Java so I thought about looking into learning Java. But is there any advantage to me doing this?

Correct, but it does depend on the app. I have written some high volume apps in CF only and not had an issue. But my primary work is with developing and maintaining a payment gateway and due to the nature of the application there are a few non-native CF components (both Java and Delphi). The beauty of CF is it's ability to seamlessly mix if you have to. But again, I prefer to keep non-CF dependancies to a minimum.

Similar Messages

  • Why learn Java now?

    I'm new to Java programming and have developed some small demo classes.
    I have exp with other Visual languages and I feel like I'm taking a step back in time writing code in Notepad and compiling and running from dos etc.
    I have several classes and lots of code lines to do a simple thing in swing like create a frame and a simple menu panel.
    I thought Java required less code but so far it requires 3 times an much as other languages!
    What visual tools or IDE�s exist for Java development other than Sun ONE Studio?
    Why learn java now? The number of jobs posted online seams to be higher for Java that any other language out there like vb.net, C++ etc.
    Any Comments of the Future of Java Jobs?
    Running Java:
    My apps run slow on XP, 384M ram.
    Do production Java applications suffer from slow execution of the JVM layer?

    Java code is easier to understand and more stable than "faster" languages. There is more flexibility and extensibility than in other languages, and the error-processing system is quite advanced. There are also very powerful tools you can use out-of-the-box, like JOptionPane:
    import javax.swing.*;
    public class Foo
        public static void main(String[] args)
            String pass = JOptionPane.showInputDialog(null, "Please enter your password");
            System.out.println("Password="+pass);
    Also see javax.swing.JColorChooser.
    -Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Why learn Java Instead of C++ or...

    Why should people learn Java and use Java than C++ or other programming languages?
    Some of my personal reasons are:
    1. Java supports four look and feels without having to create them from scratch, they are already available for quick use.
    2. Java compiles fast, and runs fast. It's easy to understand. You can *.jar it into one file! No *.dll's!!!

    I like Java too (duh!), but...
    Why should people learn Java and use Java than C++ or
    other programming languages?
    Some of my personal reasons are:
    1. Java supports four look and feels without having
    to create them from scratch, they are already
    available for quick use.
    What? how is that an advantage over much of anything? OK, you could say that you can write a very complex GUI application and have it run on a number of very different applications using a common L&F or a platform-appropriate L&F.
    2. Java compiles fast, and runs fast. It's easy to
    understand. You can *.jar it into one file! No
    *.dll's!!!Before there were .DLL's and .so's there were big-ass executable files with everything linked into them. Oh wait, you can still do that on Win32 and Unix if you want to (except of course for the OS shared libraries which Java's JRE needs too).
    Chuck

  • What ways of communication between two java apps you know?

    Hi all
    Lame (but not for me) question.
    I have two java applications (first is web-app unning on server (tomcat or JBoss) and second is a standalone java app). Both are running on different JVM and both have to communicate with each other quite often - but mainly: the second one is going to pass results of its work to the first one.
    What way of communication would you suggest?
    Ps. I'm free to choose frameworks and overall architecture.
    Regards
    Grzesiek

    YoungWinston wrote:
    Blimey. That's a question and a half; and the answer will likely depend on what you need to do/send.
    For straight messaging, there's JMS, but for more esoteric stuff you might want to involve a database, so you may want to look at JDBC (or even something like Hibernate). EJBs generally use servlets, or there's also straight HTTP, even raw sockets.
    I suspect to need to rein in your question a bit and come up with some specifics.
    Winston
    Edited by: YoungWinston on Jan 13, 2011 5:26 PM
    Too slow, as usual :-)So:
    Blimey. That's a question and a half; and the answer will likely depend on what you need to do/send.Plain text, just statements ;)
    For straight messaging, there's JMS, but for more esoteric stuff you might want to involve a database, so you may want to look at JDBC (or even something like Hibernate).Yes, JMS is what might solve my problem. Even if there will be any database(?), the only ones I would be considering are H2, Derby, HSQLDB.
    I suspect to need to rein in your question a bit and come up with some specificsA little more details? Ok....
    Firstly, ordinary user via web app creates text file, and when it's ready - starts second app in separate JVM (separate JVM is needed due to risk of OutOfMemoryError or any other crashes).
    Second app (standalone) is going to process this file (it might take hours/days/weeks) and inform web-app about his progress (about 5 messages per minute).
    Of course all those messages are going to be saved in log file/ database (log file should be easier way to go).
    Note that many standalone instances of second app are going to be run simultaneously (I think that this is the place to use some database - to store info about all instances: whether they finished successfully or not: eg. due to some crashes)
    Thanks for you time and effort
    All of You helped me already ;)

  • Java. do you know how to write it... :)

    Each play will play in one position ,striker, midfielder, defender or goalkeeper. Each position has a different way of calculating performance rating.
    Striker: number of goals scored/number of shots.
    Midfielder: number of accurate passes/total passes.
    Defender: number of successful tackles/total tackles.
    Goalkeeper : number of saves / number of goals conceded.
    This first class to write will be called �player�, this will be inherited by four subclasses: � Striker�, �midfielder�,� Defender�, and �Goalkeeper�. Think carefully about what details all player will have. (read the file format below). There will be several method in this class including �calcuateForm�. Think carefully about what sort of method this should be.
    Then derive the four subclass. Each with its won method calculating the rating.
    Write a class called �Team�, this class will read in the details from the summary file, construct players and store them in a suitable collection. Then it will read in the details of the last match. Each time it reads in a player you will need to:
    1 Calculate their rating for the match.
    2Find that player in the collection
    Decide whether he is improving or deteriorating and hence whether he will play the next match (Storing that information somehow)
    3. Write the necessary information to the screen.
    4. Recalculate his over rating.
    When the match file has been processed this class will write the new information to the �summary-1.txt� file. (in a real scenario it will overwrite the �summary. txt� file but write a new one the assist with my marking). The next job is to select the team for the next math. Iterate through the collection and find the player who player the last match. For each player. If they are to play then write them to the screen as stated above. If the are to be dropped then interate through the collection finding the best player for that position to replace him.
    File format
    The players summary file
    The first line for each player will be the player�s name.
    The next line will be the position.
    The next two line will be the details specific to each player(tackles, goals etc)
    The next line will be that player�s current over rating.
    The last match file.
    The first line will be player�s name.
    The next two lines will be the details specific to each player

    If I were you I would not use inheritance to model striker / midfielder / defender / goalkeeper. I would just have one class called "Player", and then use a strategy to model the player's current role. That way you can easily switch the role a particular player has. If Roberto Carlos gets injured in the middle of the game, say, then David Beckham can switch from midfielder to defender :-)

  • Learning java before jsp?

    Do I need to know Java before learning JSP?
    Also, I have a laptop that I am using at home and would like to start learning Java and JSP. Will Tomcat work on my laptop? Can I launch it from my desktop?

    It is not absolutely necessary to learn java before you learn jsp, but you must at least have programming experience. But if you want to do better, then you need to learn java.
    tomcat should run on your laptop.

  • Any Great newbie books to learn java - Any Recommendations ???

    Hi, my name is Chris and I know a little about web design and I want to learn java but I know nothing about programming and I would like anyone here to recommend a decend book for a complete newbie in programming to be about to get alot of a that book. I am really interested in java right now and if anyone has any great forums to learn also besides this one , that will be great.
    Thanks
    Chris :-)

    http://chortle.ccsu.edu/java5/cs151java.html#50As always i wouldn't suggest this website you have mentioned. The order in which the topics are covered is not conducive to good learning. You see the chapter in exceptions is dealt at the end!
    I would suggest Thinking In Java.
    Message was edited by:
    qUesT_foR_knOwLeDge

  • How did YOU learn Java?

    Ok, two part question and a bunch of help for this Java newbie:
    1. How did you learn Java? Online tutorials, books, discussions, a game, or a class? Be specific and think back to when you looked at a Java program and went "wtf?"
    2. How do you keep up the new versions and therefore, useless older classes? I am reading the list on JDK 1.4 and just thinking, how could I remember all of this? If I'm used to programming one way, how can I relearn for every version?
    If I could just get some honest answers and opinions, it'd be greatly appreciated, Thanks!

    Get this:
    I originally 'learned' Java from "Java Made Simple" by Peter McBride. "Made Simple" is right: having finished this book, I had no idea that you could design your own classes for use by other classes! All my methods were static, I'd never written a constructor or instantiated one of my own classes, and my applications were all contained in a single class! I had only the vaguest notion of what "object oriented" meant, and I wondered why, for example, you had to say
    Integer x = new Integer(4);
    but not
    int x = new int(4);
    The book was intended, I think, for non-programmers who have been given some free space by their ISP to design a web page, and want to add some v. simple applets for decoration. Beware of books like this if you want to learn Java in a serious way.
    For a more positive tip, I recommend Sun's very own online Java Tutorial. It covers all the key topics thoroughly and clearly, so at the end you have a good understanding of Java (More than just the basics, I'd say). If you want to move on to more advanced topics this tutorial will probably stand you in good stead (I can't be certain as I haven't moved on from here yet myself), but if you don't you will still be able to write good amateur programs.

  • If you're new to learning Java ...

    Don't waste your money on the Complete Java Technology Web Bundle [http://suned.sun.com/US/catalog/courses/WJB-000-180.html]. Like myself, you might be thinking it's a complete learning package teaching you everything from A-Z and you'd be ready for the Certification Exam. Instead, it's one (expensive) lumping of all the random courses Sun teaches on Java Technology. It has almost no flow between the modules.
    I'm not saying that the modules themselves are bad - just be aware that this is not a step-by-step course into Java that I thought it would be.
    So, I suppose it wasn't falsely advertised, but I'm frustrated because I spent $1,800 for a course that still requires supplemental reading and research - very disappointing. Of course, the best part, is I can't cancel the course because I've completed just enough of it to figure this stymie out too late.

    Hehe. Yah, luckily it wasn't my money. But, even still, I feel bad about it.
    The money would, I think, would be worth it if, by completion of the tutorial, you're ready to take the Certification test.
    The problem with (most?) programming books is that they follow:
    Chapter 1:
    This is a keyboard, here is your mouse. When you press keys, characters show up on the screen.
    Chapter 2:
    Programming is just like learning any language, it's easy!
    Chapter 3:
    Basic programming, understanding syntax.
    Chapter 4:
    Loops, arrays and conditional statements.
    Chapter 5:
    Classes and methods.
    Chapter 6:
    Now that you've mastered the language, we'll continue on with arcane stuff you'll never figure out, completely skipping 5 chapters in between.
    Chapters 7~12:
    Way above your head.
    So few actually stick to a path. And unfortunately this course (bundle) is exactly the same. I'm going to give Head First Java (http://www.oreilly.com/catalog/hfjava/) and Beginning Java 2 (http://www.wrox.com/books/0764543652.shtml) a try.
    To me, there's three things you should learn well:
    1. the concept of OOP
    2. java's syntax and its OOP design
    3. HOW TO USE THE API DOCUMENTATION
    To me, learning a language is mostly about understanding the basics and knowing where to look for answers (be it classes, methods, functions according to the language) and how to understand that source of answers. To a beginner, that API doc might as well be in Swahili.

  • TS1424 I tried to purchase on itunes store and it said "your apple id has been disabled". Do you know why and how do I fix it?

    I tried to buy on itunes and it said" your apple id has been disabled".Do you know why and how do I fix it?

    If changing your passwords does not solve, then contact itunes support

  • Goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that c

    goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that can not put on my iphone 3g due to this reason. Why does not Apple make a repository with applications for ios 4.2.1? or else do not work in an update to ios 4.3 on iphone 3g?

    This has nothing to do with Apple, as Apple does not make the apps.
    This is the decision of the app maker.
    Contact those app makers and ask them why they do this.

  • I can´t download skype to my new macbook pro, I can´t find it in the App Store, do you know why?

    I can´t download skype to my new macbook pro, I can´t find it in the App Store, do you know why?

    There are a number of developers who have chosen for various reasons not to offer their software through the Mac App Store, so don't assume that if an application is not in the App Store that the application is not available. It may well be available directly from the developer or some other download site. MacUpdate is a good resource for looking for applications:
    http://www.macupdate.com
    Regards.

  • Why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    why would it state under the "more about this mac" that i already have10.8.3 and then in the app store say i need to "resume" do you know what i mean? is it possible i already did download mountain lion entirely once? I am confused and don't want it twice

    This is cause by the way the App Store checks to see if an application is installed on your system.
    Basically when an app is installed it is in the Applications folder and this is where the MAS looks for them. So it looks at your purchase history for the apps you bought and looks in the Applications folder to see if they are installed. If an app is in your purchase history but not in the Applications folder the MAS says you need to install it.
    For normal apps this works fine but the OS doesn;t install into the Applications folder. So the MAS sees you have Mountain Lion in your purchase history but it's not in the Applications folder and so it says you need to download it.
    Hopefully one of these days Apple wil fix this.
    regards

  • From some reason (i'm not sure why..) my whole iphoto library got deleted. I restored the whole library from my backup. The photos are blank but steel have the photo info. (date, res., size etc.) Do you know what's the prob.? why can't i see my pics.

    from some reason (i'm not sure why..) my whole iphoto library got deleted. I restored the whole library from my backup. Now all the photos are blank but steel have the photo info. (date, res., size etc.) Do you know what's the prob.? why can't i see my pics.

    It's says that file does not exist. How come? And why does it still show the image info.?
    Where can i find those files (i have a daily backup)
    The original image files are missing form your iPhoto library or iPhoto cannot find them, because the link to the originals has been broken. The image info is stored in the internal libraries, independent of the original files. That is, why you are still seeing them.
    I restored the whole library from my backup.
    Try restoring from an older backup, from before you first noticed the problem. 
    How large is the library, that you restored? Is the file size large enough to hold all your photos, or has the size been reduced?  If the library is still large, the photos may still be inside, even if iPhoto cannot find them.
    It's says that file does not exist. How come?
    What happened, before your iPhoto library got deleted? Which applications have you been running, or which new software have installed or upgraded?  Have you moved the library to a different disk or tried to use it from different user account or access it over the network?

  • Do you know why oracle queries many times sys.props$ for BACK_END_DB

    I noticed that oracle executes the following query too many times.
    select p.value$, lengthb(p.value$)
    from
    sys.props$ p where p.name = 'BACK_END_DB'
    Oracle 9i DB
    This query is not executed into a form, report, package or procedure.
    Question is:
    Do you know why oracle queries many times sys.props$ for BACK_END_DB?
    or how can we avoid it?
    Regards
    Marcos Galeana

    Hi,
    Internal table sys.props$ contains data for some oracle parameter/variables. Oracle makes internal calls to its internal tables for many fornt end SQL statements (recursive queries). So do not worry about those internals calls.
    Regards

Maybe you are looking for