Woot! Must read for people learning Java

awesome anonymous inner classes :)
import javax.swing.*;
import java.awt.*;
public class Main
     public static void main(String[] args)
          JFrame frame = new JFrame();
          frame.setSize(400,200);
          JPanel panel = new JPanel()
               public void paintComponent(Graphics g)
                    super.paintComponent(g);
                    g.fillOval(0,0,40,40);
          frame.add(panel);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setVisible(true);
}wrote it myself

Surely the access specifier isn't silently
changed from private to package.
Unless you can come up with very strong evidence,I
am quire sure the presence of inner classes doesnot
affect the accessibility of a class' fields. Noteven
under the hood.This statement is correct.
No modifier is changed.
A package protected accessor (with the name
access$nnn - where nnn is some number) is generated.
This provides read-only access for the package, and
as mentioned, if such data is critical, sealed
packages and security manager should be used.
If you find yourself doing this:
if
(foo.access$000(outerClassInstance).equals(GREEN))
code]
Then thats your own damn problem.And all these people in these articles are idiots who should ve contacted Schneider
http://www.ftponline.com/javapro/2004_03/online/rule2_03_17_04/
http://www.owasp.org/index.php/Publicizing_of_private_data_when_using_inner_classes
http://www.javaworld.com/javaworld/jw-12-1998/jw-12-securityrules_p.html
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4097812

Similar Messages

  • A must  read for webdynpro guys

    Hi,
    this link is a must read for all those who wannna learn webdynpros.
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#1
    And, pls send me more of this kind if you have any
    regards,
    Rahul.
    null

    Hi Rahul,
    Please go through these Links also,
    webdynpro applications and tutorials
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/8921447c-0501-0010-07b4-83bd39ffc7be">Getting Started</a>
    <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Webdynpro Java</a>
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">Webdynpro Sample Applications ans Tutorials</a>
    https://www.sdn.sap.com/irj/sdn/thread?threadID=139467
    https://www.sdn.sap.com/irj/sdn/thread?threadID=200852
    Very useful
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/content.htm
    Value help in webdynpro Applications:
    Please gothrough these documents,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/391ee590-0201-0010-1c89-f1193a886421
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
    https://weblogs.sdn.sap.com/pub/wlg/5508
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec
    webdynpro UI's(pdf)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/Developing%20Web%20Dynpro%20User%20Interfaces.pdf
    Regards,
    <b>Ramganesan K. </b>

  • Helping people learn Java

    Hello,
    I am just about to go into my third year of a Applied Computing degree at dundee university. Over the summer I have been part of a project to develop an e-learning course for people that have not used Java before.
    I was really wondering if it would be possable for the people in this forum to have a quick play about with a small online tutorial I have been working on and give me any feedback (good or bad) on it.
    You can find it at
    http://vegeta.computing.dundee.ac.uk/t22/jq/text.asp?id=1
    Javascript is required

    This was the first example I got.
    private float average3(int a, int b, int c)
         double sum;
         sum = a+b+c;
         sum = sum/3.0;
         return(sum);
    }Ok, apart from the obvious error of calling the average a sum, I have the following comments:
    Whatever your personal choice of {} placement, if you are giving a tutorial, then you should be encouraging the use of the java coding standards (if you don't know what they are, then you shouldn't even be involved in teaching others.
    The use of a, b, c as parameter names should again be frowned upon (but I guess in this instance they would be excusable)
    The declaration of a variable on one line and its initialisation on another line, while may seem like a correct verbose method of teaching, is actually enforcing bad habits for the future. If a variable can be initialised where it is declared, then it should be....
            double sum;
         sum = a+b+c;
    // Why notNow we come to a complete bug in the code. You are declaring sum (I have already given out about the name of that variable, so I won't go into it again) as a double, and you are returning a float as stipulated by the functional specification. Yet you don't cast it to a float... This code won't even compile.
    Correct code would include:
        private float average3(int first, int second, int third) {
            return (first + second + third) / 3.0f;
        }or alternatively:
        private float average3(int first, int second, int third) {
            return (float) ((first + second + third) / 3.0);
        }I would suggest that you test any code snippets that you intend to use as teaching aids.

  • A Must Read for all current and future Final Cut Pro X users

    Take a breath people, as this article states, Final Cut Pro X IS NOT an upgrade to Final Cut Pro 7, it is an entirely new program. Much like Final Cut Pro 1 was the start of a new revolution in NLE video editing, Final Cut Pro X is the beginning of a new revolution. Anyone that has a clue of what they are doing or talking about when it comes to professional workflows knows you can't expect to switch to a new product and a new workflow from day 1. There is an evolutionary process to this, just like there was when the first Final Cut Studio came out, and then version 2 and then version 3 or any new version of OS X for that matter. It will take time for third-party developers to catch up just as it did with every other major release.  In the meantime, you don't change a major piece of your workflow that your business or jobs depend on until that major piece has been out, tested and guarunteed to work for YOUR workflow, PERIOD! If you've purchased final cut pro X already, take this time to start learning a new way of looking at editing, a new way of working while the software catches up to the standards and features that every professional desires. If you havn't purchased it yet, either do so knowing what your getting right now, or simply wait for the evolutionary process to run its coarse.
    This is the way the world of software works people, anyone that doesn't understand this, frankly, doesn't have a clue.
    http://library.creativecow.net/adcock_gary/FCPX/1

    Original post: "Anyone that has a clue of what they are doing or talking about when it comes to professional workflows knows you can't expect to switch to a new product and a new workflow from day 1."
    Even this shows ignorance of the professional marketplace. The fundamental workflow of the professional editor hasn't changed in 80+ years: The shots get delivered to the Editor, the Editor edits the shots and delivers the results. While I can see how editing software can change the way this fundamental workflow is accomplished, it will not change the fundamental workflow of movie making or programme itself. And therein lies the massive problem with FCPX! However Apple decides to redefine the workflow of how the professional editor edits, it must also provide the basic tools which allow the Editor to take delivery of the shots and make delivery to the other personnel involved in making the film. In a professional environment there are others with whom you must collaborate, when was the last time you saw film or TV credits where only one person was listed? Apple has decided NOT to incorporate in FCPX the fundamental tools which allow for the accepting and delivery of materials within the professional environment using internationally accepted standards. Apple has also left out a range of other essential features required by professionals.
    FCPX is an excellently placed product. It's exactly what the makers of wedding DVDs, youtube contributors and the serious home enthusiasts has been lacking; an easy to use yet powerful and semi-automated video maker. It's an iMovie Plus, a Final Cut Express X, it fills a hole in the market and will be of benefit to hundreds of thousands, maybe millions of people (far more potential customers than the relatively limited market of professional editors!). Unfortunately, what it is NOT is a Final Cut Pro X!! Because except for wedding DVDs, p*rn movies and a few other very simple editing jobs, it is unusable for the vast majority of professional editing situations.
    It seems to me there are two reasons why so many people are so angry about FCPX. The first is that it is called Final Cut Pro X (Final Cut Professional 10) and has been marketed to everyone (including professional editors) as an upgrade from FCP7, this is at least misleading and at worst probably borders on misrepresentation. The second reason is that new features like iMovie import and Vimeo and Youtube export have been given prominence, while at the same time basic professional functionality has been removed. This is a very clear indication that the Final Cut software has been repositioned towards the prosumer market and away from the professional market. This is a real kick in the teeth for those who have built their careers and business around this software and Apple has made the situation worse by marketing this kick in the teeth as a major improvement?!
    I've seen messages in other threads from happy amateurs telling the professionals to stop b*tching as FCP7 still works and they can continue using that version. This again demonstrates ignorance of the highly competitive nature of the professional editing marketplace. You need to be doing it better and more efficiently than the next editor. FCP7 has been in need of an update for a few years now, the longer professional editors stick with FCP7, the further behind the competition they will fall. It seems clear that for the foreseeable future FCP7 is Apple's last professional video editing software which means a considerable outlay for Editors, to buy new systems, new software and retrain themselves and employees. It's likely that the release of FCPX and the way it has been marketed will make life very difficult for many editors and may even ultimately cost some their livelihoods.
    <Edited by Host>

  • A must read for everyone....

    The moderators have asked me to leave this forum and not return. I will respect their wishes and do just that.
    What I won't tolerate is their complete lack of any answer to the honest and legitimate questions I have posed to them. In particular, as to why these moderators here are the only ones who claim that the GeForce 4 chipset based vga cards require so much power.
    Show me some proof. Maybe an article on a PC vendor's website or a magazine article that backs up your claim. Even a vga card vendor or retailer that lists the power requirements???
    You have failed miserably in the fact that you completely play dumb and ignore my questions. Maybe you are that dumb, I'm not sure.
    You owe it to every person who comes here looking for help, to give them truthful statements and advice. If you can't, then don't say anything. There are many posts here where people ask for help on their vga cards and the knee-jerk response is "you need a bigger power supply". Syas who? Back it up!! Look through the threads and note how many people you have said that to whom go and spend their money on a new psu, on your recommendation, just to post that they STILL have the same problem.
    The moderators here just regurgitate the same lame questionable solutions.
    My advice to anyone seeking help here is to do your own homework before wasting money on these "solutions". Join another forum not related to MSI. Find one for NVidia. Or a general tech support forum like techimo. Even ask your local coputer parts stores.
    I am not debating the benefits of having a large power supply.
    I am, however, questioning your intelligence level and your commitment to helping others versus stroking your own ego.
    I will now leave you in peace to say whatever you like about me, but rest assured, after I am done, someone from MSI will be examining this board and it's propensity for distributing inaccurate solutions as related to their products. I am sure MSI will be thrilled with their reputation being associated with inadequacy and unhappy customers
    Elzie

    Quote
    The moderators have asked me to leave this forum and not return. I will respect their wishes and do just that.
    No one asked you to leave other than invite you to visit another forum
    Quote
    What I won't tolerate is their complete lack of any answer to the honest and legitimate questions I have posed to them. In particular, as to why these moderators here are the only ones who claim that the GeForce 4 chipset based vga cards require so much power.
    It has been a known issue and has become one of the top solutions to many problems in and out of these forums. In fact, I would say approximately 50% of the time it is an inadequate power supply.
    Ever Since the Athlon XP there have been serious issues with inadequate power supplies.
    It became obvious that with the current peripherals populating today's PC's the power requirements have increased in performance based systems. Add a GF4 to the mix and it can cripple many supposed 300w power supplies.
    If you called my reseller he'd tell you straight out that his tech recommends two or three brands of PSU that are rated over 400w with a AMDXP and GF4 combo, but won't tell you about the combined power requirement because it's like a trade secret.
    Telling that to the layman or n00b usually results in a blank stare and that "I don't get it look" I often get from my coworkers when I try to explain anything technical.
    Unfortunately, the generic answer from many PC shops is you must have at least a 300w power supply, and again we have the dilemma, whereas there is no set standard, and some will handle the requirements, then, other claimed 300 watters fail miserably and often cause damage to the PC.
    Many of these shops don't build the high end systems that we often see in these forums and if they do, it's with tried and true hardware that works together.
    There are times when we are wrong but in this medium (forum) it is virtually impossible to be correct in diagnosis all the time, as we cannot be present while troubleshooting.
    In troubleshooting PC's and building them yourself without knowledge of these things, leads to many different outcomes.
    1.   you get lucky and the build goes well because you did a little homework before doing so.
    2.   You have problems that lead you to a medium such as this where you will get varied replies just as you would if you were to call a technician. Possibly solving your problem or leading you down the wrong path.
    Ad infinitum.............
    Either way, you take the risk of something not performing properly.
    Symptoms can be the same for several problems that are encountered. The power supply is more often the solution than not. So my reasoning at least, is why not eliminate the problem before it happens. Remove it from the equation, and if you play your cards right when you purchase the PSU (that may not be the problem).
    and you make sure you know the return policy should you not need it, you can then return it, and get your money back.
    These are the risks you take when putting together a system or upgrading, novice or not.
    You claim to be skilled in troubleshooting, but are you that naive in believing it's that cut and dry?
    Neither I nor any of the other mods will tolerate your arrogance and insults to our intelligence, perhaps it is you who need to change your perception.
    Offer your skills and help instead of your utter lack of respect. If it is a fight you are looking for, this is not the place or the medium in which to do it, and you have  underestimated your opponent.
    Quote
    Show me some proof. Maybe an article on a PC vendor's website or a magazine article that backs up your claim. Even a vga card vendor or retailer that lists the power requirements???
     Below are a couple of things that come to mind, I do not have all my links as I lost them in the great IBM 60GXP crash of 2002
    Inadequate and Deceptive Product Labeling:
    Powersupply Calculation
    http://firingsquad.gamers.com/guides/power_supply/
    Quote
    You have failed miserably in the fact that you completely play dumb and ignore my questions. Maybe you are that dumb, I'm not sure.
    I won't even go there, I will just play dumb, for your sake
    Quote
    You owe it to every person who comes here looking for help, to give them truthful statements and advice. If you can't, then don't say anything. There are many posts here where people ask for help on their vga cards and the knee-jerk response is "you need a bigger power supply". Says who? Back it up!! Look through the threads and note how many people you have said that to whom go and spend their money on a new psu, on your recommendation, just to post that they STILL have the same problem.
    You're right about truthful statements and advice, I never, nor have any other Mod, lie to anyone and the fact that you are insinuating we have lied, is a testament to your ignorance and arrogance in this matter.
    Quote
    The moderators here just regurgitate the same lame questionable solutions.
    My advice to anyone seeking help here is to do your own homework before wasting money on these "solutions". Join another forum not related to MSI. Find one for NVIDIA. Or a general tech support forum like techimo. Even ask your local computer parts stores.
    I agree with you in part and I can see where you might see them as lame.
    And the advice you give in the above quote is good advice, it's always good to get other opinions so you can make a better educated decision, and I invite any user to visit the other forums and then come back to share the experience with us.
    Quote
    I am, however, questioning your intelligence level and your commitment to helping others versus stroking your own ego.
    I believe I already addressed this one before except the ego part.
    I don't get that part, only that the ego is obviously present in YOUR posts.
    We don't work for MSI but volunteer our time (of which I have spent/wasted too much of my Saturday evening on this reply) This is a user to user community and we are just other users like everyone else but with privileges that allow us to moderate, not solve everyone's problems.
    If you do not feel comfortable with the advice then it is ones prerogative to get another opinion or try another forum. We do hope that the user shares the outcome to benefit the community and later use it for reference.

  • External HDD ideas... a must read for those thinking of one!

    Sorry if there is a topic out there that discusses this but I couldn't find it and got tired of running searches... I also posted this in the software section of Tiger by mistake...
    Ok... my bro recently had his Maxtor One Touch II 200G drive crap out on him and we tried recovering it... no luck, he lost everything on it. Here is the kicker... he had it for less than 2 years and the warranty thru Maxtor is only 1 year? What a joke... seems they install OEM drives in the enclosures which usually only carry a 90 day warranty at best.
    So here is my personal advice to ANYONE out there looking for a nice, reliable external drive....
    BUY AN INTERNAL HDD! ... yes, get an internal because they all come with at least a 3 year limited warranty (Seagate now offers a 5 year on all their drives). Then buy an enclosure to suit your needs... USB... FIREWIRE... whatever floats your boat. Pop the hdd in and configure it with Disk Utility and there ya go!
    Now, if the drive acts up and you run out of ideas on what to do with it... do an RMA with the manufacturer? If within the 3 or 5 year time period, go through the proper procedure to file a claim with the manufacturer that the drive has malfunctioned... they will send you a new drive and you send the old one back (sometimes they provide a return slip but you may have to pay for shipping back)... THAT'S IT!
    I have done this a few times in the past with older drives on my PC... but I got a 300G Maxtor Drive from CompUSA (it's been quite a few months) that had $60 worth of rebates... so it cost me $90 + tax! Then another $30 for the enclosure... so there is my advice and/or thought on external hard drives. Hope it helps!
    Ciao

    http://eshop.macsales.com/shop/hard-drives/External-Enclosures/
    http://eshop.macsales.com/item/Other%20World%20Computing/MEFW934AL1KS/

  • 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

  • For all the newbies who wants to learn Java

    I was a newbie like 4 months ago. i have some skills of OOP in C++ like 2 years back but since then i did'nt took any of programming language courses. I have experience in MSaccess and MYsql. i did my internship Last summer with Tennessee Education Lottery as a Database Analyst. At that time i realized what a Corporate Enviorment looks like. Trust me it was a formal interview and i passed it and they placed me in the IT department to write some scripts for the GUI terminal and at the same time create a Company Security Database. i did completed my project but i had to Learn Mysql. and then i realized Java was getting very popular. alot of people told me in the forums to go Java tutorial but i will not agree to start from the sun tutorial. you can do it only if you have a good or may be medium experience of OOP. it was really tough for me and then this magic guy came on the forum and told me to go on this website if you want to learn Java.
    http://chortle.ccsu.edu/java5/cs151java.html
    This site is a brilliant site specially the exercise problems and the quizes really attracted me to Java alot and now i came to realize how easy it is to program in Java rather than C++. Java forums have helped me alot in solving those exercise problems (not with the code but with a good explanation) which was very helpful for me. out of my 210 post i guess i have helped 30 people out and the rest of the questions are regarding those exercises. i came to know encapsulation, inheritance and all that stuff. though i am still not very perfect like i am still having trouble with ComparTo thing but it takes more practice. the more you practice the more you learn. so all the newbies if you really want to learn java even if you dont have any experience in OOp this is the site where you need to start. Hope this will definitely help you alot. thanks to all the Senior members navycoder, captain, paulcw, duffy, turingpest and others also who have helped me in the past. without you i would have not achieved the goal of learning java. now my next step is going to be learn GUI programming Swing. looks fun to me. but at the same time i have my final project for this semester to make on ONline Testing program which will have a database, php scripting and html and xml.
    I will post if i have any problems

    I was a newbie like 4 months ago. i have some skills
    of OOP in C++ like 2 years back but since then i
    did'nt took any of programming language courses. I
    have experience in MSaccess and MYsql. i did my
    internship Last summer with Tennessee Education
    Lottery as a Database Analyst. At that time i
    realized what a Corporate Enviorment looks like.
    Trust me it was a formal interview and i passed it
    and they placed me in the IT department to write some
    scripts for the GUI terminal and at the same time
    create a Company Security Database.Wow they really must like to gamble if they put you in charge of a security database - no offense meant, but that isn't the sort of thing you would want a brand new person working on, unless of course they were giving really high odds ;-)

  • Looking for must-read programming reference material

    I am relatively new to programming and would like a reading list of must-read programming references. I know several languages, but I am not looking for materials about any particular language; instead, I would like to read up on more fundamental things such as programming concepts, programming algorithms, programming paradigms,  computer architectures, programming style, etc. What are the classic, must-read books and articles that I should begin reading? Thank you for your suggestions.

    I've never used assembly for a 64-bit system, but I'm sure most of the same concepts apply.  In fact I'm pretty sure any change is analogous to the change from 16 to 32 which wasn't that drastic.
    With assembly language, learning the core concepts is the biggest step, the difference between 16 and 32 bit wasn't like learning a new language, rather it was just having more and bigger registers.  I don't do any actual programming in assembly - I dabbled a bit for fun, but I dont 'use' it.  But the concepts I learned through assembly have helped me in every other programming language.  Given that, I'm sure a book on 32-bit assembly would be useful for a 64-bit system.
    Consider too that assembly is a bit of a dying art.  Pair that with the fact that 64-bit systems are relatively new, and there won't be many people who can write a quality book about their lifetime of experience with 64-bit assembly.
    Lastly, (in this very disorganized listing of barely related points), 32-bit to 64-bit is also a trivial change compared to the various instruction sets that have been used.  If/when you understand the similarities and differences between the various assembly languages and instruction sets, is when you really start using the strengths of your particular architecture.  (I'm tempted to make a Matrix reference "There is no spoon").  My favorite assembly languages, just for the fun of it, are One-Instruction-Set systems.  When I realized that one single instruction used repeatedly can create the diversity of programs we use ... I was in geek heaven.  I put that day on par with learning about hardware-software interchangability, and the fact that our modern computers are made up of a vast series of only one type of logic gate ... and the day I learned some lamba calculus ... (end geekgasm)
    Anyhow, learning to 'think' in assembly language can help all your programming (IMHO) regardless of whether you ever speak to your computer in that language.  So, yes, I'd say the 32-bit book would be worth reading even if your current computer is 64.

  • Recommendations for Book on Learning Java on Mac OS X Tiger?

    Can anyone recommend a book title or two on Learning Java on Mac OS X Tiger? A generic learn-java-book is fine -- it just has to not be Windows-only. ie. the examples or included CD should at least include instructions for running the examples on a JAVA IDE available for other platforms such as Mac OS X (e.g. Eclipse).
    Thanks in advance,
    ...ben
    PS. Wish Dave Mark had a Java version of his classic: Learn C on the Macintosh
    PB G4 15 1.67 GHz, iBook SE 0.47 GHz Mac OS X (10.4.3)
    PB G4 15 1.67 GHz, iBook SE 0.47 GHz   Mac OS X (10.4.3)  

    Just download eclipse and do sun's java tutorials. They're very well written and cover pretty much anything you need to do with Java.
    http://java.sun.com/learning/tutorial/index.html
    cheers,
    /john patton/

  • Which book is good for learning java?

    1. Introduction to Java Programming, Comprehensive (8th Edition)
    2. Core Java(TM), Volume I--Fundamentals (8th Edition)
    Or others?
    I haven't any programming experience!
    Thank you!

    This is the set of often recommended resources:
    TheList?
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance]
    James Gosling's [The Java Programming Language|http://www.amazon.com/Java-TM-Programming-Language-4th/dp/0321349806/ref=sr_1_1?ie=UTF8&s=books&qid=1247059012&sr=1-1]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Best Training for learning Java

    I've looked online, I've watched a couple videos, I've gotten books from the library, but I'm not sure if I'm truly learning the language.
    I'm understanding a lot of the basics to Java, but where is the absolute #1 resource for learning Java? I want to be able to create some java games later on, but I'm trying to figure out where the best place to learn and understand the whole complete java language. I want to be able to understand it inside and out and I'm just having trouble finding where to learn the language.

    Encephalopathic wrote:
    Viperjts10 wrote:
    Also, I looked into the "Thinking in Java" and found it at my library, but it was published in 2000, and I'm wondering how much of java has changed, or if that book would still help me out at all if it was published almost 8 years ago. Does it still have useful information and concepts that will help you? Absolutely! Realize that you aren't going to be studying this in a vacuum. You should also be learning from online sites, the forum, and perhaps other books. If you really learn the core concepts of Java and learn them well, getting up to date with the latest bells-and-whistles will be quite easy.Not to mention that a lot of employers don't always use the latest version of Java anyway. I work for a bank, and we're still using the 1.4 JDK...

  • Developing 3rd party UWL Connectors for People soft system or other Java sy

    Hi Everyone
    We have one requirement that is u201CDeveloping 3rd party UWL Connectors for People soft system or other Java systemu201D and get the workflows from those system and display in portal though UWL.
    We used u201CUWL Custom Connector APIu201D and written all the required methods.
    Could any one help us u201CWhere can we specify the 3rd party system details?u201D
    If possible please send some sample coding for it.
    Thanks in advance
    Sat

    Hi Satya!
    Like the default SAP backend UWL connectory your 3rd-party connector should make use of a PCD System Object. This system is a mere java component with nothing more than a portalapp.xml defining all the system properties.
    Create a system in the portal system landscape based on the System PAR you depoyed.
    For every UWL connector you create in portal you define a system alias. This alias has to match the one of your new system object.
    And now for the sad part: I didn't find any clue yet about how to access the system from a custom UWL connector. The system alias is available in the method getItems(), but no hint whatsoever how to get the system object to the alias.
    I'm still investigating this, since i'm exactly at this point.
    Regards,
      Juergen

  • Im Trying To Learn Java :o(

    Hey All,
    I have decided to get my mind active and randomly learn Java. I say randomly because i am going to be a student again in IT but i like the kinda 3D side and modelling and nice pictures and flash actionscript lol not all this stuff.
    Anways i would just start by saying that Java offends me massivly, i know something happened with M$ and Sun and ever since then all i have had with the sun download is problem after problem and crashing and all iw as tryin to do was play some Jippii games. This aint a recent problem, it always happens and i must have reformatted xp around 7 times. So i stay away from applets!!!
    Anyways in 2002 when i started learning Flash it was because i seen a site i liked and wanted to do that. The equivelent is kinda like me saying "OK GUYS I HAVE JAVA NOW HOW DO I MAKE DOOM" anyways 2 and a half years later im happy with what i can do and have used alot of different apps and learned alot from 3dsmax to aftereffects etc.
    Anyways my goal out of this whole Java thing is to make a game like one i used to play when i was younger on the Amiga 500. No where has this game and a modern one would be great to play. The graphics suck but the physics were really nice.
    So my questions are:
    1) Java. Ok im going to be honest, i know nothing about Java, i dont even know if it can do what i want and what i really dont want is to spend a while learning this to be stuck with no effects for my game, ie are small particle effects possible in Java? I know Java is pretty slow for a proper language compared to C/C++ but how slow? Can you shift a hundred particles around the screen and still add physics in the background?
    2) Java. The whole thing confuses me massivly. Im not a big posting person as i tend to prefer searching but i dont even know where to begin. I will bite the bullet and say i aint going to have alot of problems with the syntax of the language itself. It all looks kinda how i expect it, obviously i dont mean i aint gonna have problems and lot of them but it is not REALLY alien to me to look at a bit code. At the same time it is. I need to know alot of stuff, things that the 2 ebooks i have just ignored. For example, when i compile something, i thought that meant it compiled to the EXE but infact it turned my "heyworld.java" into a "heyworld.class" file. This just makes no sense to me atall because i HATE command line stuff, i see it as reinventing the wheel so im trying to follow through on first of all netbeans (an that went off almost instantly) and a free one that got my hey world to work (well, class). I need to know if a compiler dont make a exe then whats the class for and what exactly is a class file. You know just stuff like that? Does anyone know i kinda dictionary so to speak? baby talk i mean, so far all i seem to get is explainations with words i dont understand.
    3) How difficult is it to make a 2D game in Java? To make this plainer, i aint having an applet run somewhere, i want a nice downloadable exe. Of course i will need to start at the beginning but i mean to get a ship on the screen with keys to move it and a "cave" roof to crash into, is this going to take a long long long time to get to that stage? You see, as i said before unless after a few days i have a object on screen to work with, i just get too bored to continue. for example "the object of this is to make a red circle move across the screen" REALLY interests me where as "today we are going to make a mock system for a small business user" sends me back to 3Dmax and the lighting i was reading about lol I tend to look at a piece of code and be devestated by its complexity then try and make it make sense over time. Is this possible with Java? It does work for me this, i was picking apart a isometric code in actionscript before i knew what a tween was.
    4) Theres so many different J*** J"EE things floating around that i dont actually know what one i am meant to use? I got 1.4.2 i think but thats all i know. Id like any other things that helped yourselfs start off in Java?
    Sorry to go into a bit detail here, its just that with this degree im starting, it soon branches off into 2 groups. Programmers and Designers. I feel i know the design side well enough to make a comparison but it would be rude to leave this side of the things out and write it off without atleast giving it a shot.
    Thank you very much for your time :o)
    Kind regards,
    Clarky.

    If you want an idea of what's possible with Java, do a google search for "java games" or something like that. I've seen occasional postings of what are supposed to be pretty cool games that have been written in Java, but I'm not into games, so I've never bothered to check 'em out personally.
    As to whether you can do it, well, you'll have to figure that out. Learning Java well enough to create a video game is not a trivial task. I don't just mean the syntax of the language, I mean the many APIs you'll be using, concepts like multithreading and exception handling, good OO principles, etc. Without a good handle on that stuff, your code will quickly turn into a morass that will be difficult to enhance, maintain, or debug.
    I suspect that the code to make a particular graphical event occur will be more verbose and complex in Java than in ActionScript, given that Java is a general purpose language and AS is more geared to GUIs. Nonetheless, I'm sure there are APIs out there (some free, some not) that will provide some higher level constructs than the core APIs to make some of that easier. You'll still be operating in the idiom of a general programming language though.
    There may also be a hybrid solution available--where you use Java to express the game logic and another language to express the graphics. I don't know anything about this kind of stuff though, so that's just speculation.
    You may get more precise advice in the GUI Building forums on http://forum.java.sun.com/ than here.
    Here are some resources to get you started on Java in general.
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.

  • Best Option to learn Java: Search the Web, Books or Real Training

    Good Evening People,
    I came to the following conclusion during my 4 weaks of trying to just connect and read a MySql Database, to read a CVS file.
    It seems that you get some leads, but never the full answer.
    So I am asking what will be my best Option, as I can see people on the Forum sort of give you some direction, but they want you do figure the answer out for yourself. Which I suppose you deserve as you might have started off with the same frustrations.
    So what fo you suggest I do to limit my frustration:
    Web Search drive me to a level of uncontrollable frustration, is this realle a complete solution.?
    I bought books each costing me over R600.00, still the mistery remains on how to do simple functions.?
    Should I rather spend some money and do a Course ?
    Please if you have walk the road and have the correct answer I will appreciate it.
    If it is a course, what will it be ??
    I am in the Gauteng Area.
    Regards
    Judy

    jverd wrote:
    I don't know what books you've bought and in what way they're not meeting your needs. Here's my standard list of web resources and books. At least one of the books is available online, free I think. Take a look at them and see which ones best fit your needs.
    However, if you expect to just be able to cherry pick bits of Java to learn as you go, without first spending time and effort working through the basics, you're in for a disappointment.
    Sun's [basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    Sun's [New To Java Center|http://java.sun.com/learning/new2java/index.html].Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    [http://javaalmanac.com|http://javaalmanac.com]. A couple dozen code examples that supplement [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance].
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's [Thinking in Java|http://mindview.net/Books/DownloadSites] (Available online.)
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683/ref=pd_bbs_1?ie=UTF8&s=books&qid=1214349768&sr=8-1]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance].
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806].
    with the javaalmanac.com site does it cover everything in the book or is there a lot more in the book to make it worth buying? thanks

Maybe you are looking for

  • IPOD originally formatted for Windows...Now I have a IMAC

    My IPOD color 30gb was originally formatted and worked on a PC. I now own a IMAC and have transfered the music over. The music plays fine on the IMAC in ITunes, it down loads to the IPOD, but no sound comes from the IPOD. Do I need to reformat the IP

  • ORA-00911: invalid character

    I am trying to create a Table of Contents within Crystal Reports 9 from a query and tables in PeopleSoft. I have read many posts about ways to make this possible but I have not yet succeeded. I am currently trying to create a subreport thru the Add C

  • Clarification - CRM

    Hi I have the below requirement : System is Stand alone CRM (Assume) Like in CS (R/3) - Service Order , We have Service Order in CRM also . My doubt is like in CS we put the components that are required in the components tab in service order and also

  • Regarding ALV total

    Hi All, I have 2 alvs. Where in each one of them, the total is calculated for one of the fields by using the standard ALV total functionality. I need to show the grand total of these two. I could not find any method to get the total of that given fie

  • Errorr 25000 for Bluestacks installation, looking for updated graphics card driver

    Hi, I am having problems installing Bluestacks emular on my HP Pavillion Laptop. It always says that update my graphics card driver. I really wanted to install Bluestacks so that I can play any android games on my HP Pavillion. I hope you can help me