Book recommendation about java objects

Hi I've been reading books and writing java for about 2 years. most of the books look the same. they cover different parts of java such as I/O, networking, GUI..
But I am very interested is understanding about objects and how they work or should be created and used. What does extending, implementing, interfaces,... really mean. I do have a general understanding of it and I use them all the time but mostly by looking at examples and based on my own ideas but it seems that most of the design that I do can be done in so many ways. I look at source codes of others and some designs make sense to me while others are confusing and have dozens of classes and sub classes all mixed into a package. I want to have a better understanding of object. any books or tutorial or other suggestions would be greatly appreciated.

If you want a book specifically tied to Java, http://java.sun.com/docs/books/javaprog/ is very good. James Gosling is one of the authors, so it really reflects the design philoophy of Java. It is also clearer on the tradeoffs made in the design than books by "Java advocates" seem to be.
The class ic work on OOP is "Object Oriented Software Construction" by Bertrand Meyer. It needs study - but it repays the effort.

Similar Messages

  • About Java Object ???

    Hi..,,
    I have a general question ? Is it possible to read a java object into R/3(not using WAS or EP ).
    If there is any, Please let me know..
    Thanks

    Sunil,
    I am not sure what exactly you are looking for. Can you explain?
    Regards,
    Ravi

  • Need a recommendation about java smart card and a reader

    I've been posting some message in this forum and others and haven't gotten a clear response.
    I want to experiment with java smart card technology.
    From what I gathered, Gemplus is a leading company in this field so I thought about buying a smart card reader from it and a java smart card.
    I thought about buying the "USB Smart Card Reader/Writer Plug n Play (GemPC430)" reader which costs 69$.
    Is this a reasonable price?
    I need an answer from someone with experience using it.
    Now then, which one should I buy?
    I only want to do smart card to desktop application interaction without anything on the web (e-commerce or anything to do with encryption).
    I can buy 5 "GS2.2 Standard Crypto GPK8000su512 RED"
    cards which cost 87.50$
    THATS A LOT OF MONEY!!!!
    Are all java smart cards that expensive?
    There is a list of other cards on their site but I haven't been able to locate their price and don't know which to buy.
    Finally, there is the "Kit, GemSAFE Enterprise Workstation 2.21 Standard Cryptography Serial Port Reader" which as I read consists a GPK8000 card.
    Is this card a java card?
    Or do I need to buy the reader and java card seperately.
    Any help and insight would be greatly appreciated.
    Thanks.

    I've looked closely at the Cyberflex 32K cards + SDK from Schlumberger.
    My criteria was:
    * Javacard 2.1 support
    * visa open support (or whatever it is called now)
    * complete sdk (develop, test, deploy)
    * exportable
    * upgradable
    * customer support
    I tried to get someone from Gemplus to contact me, but was unable to ever get even an
    email response.
    Schlumberger, on the other hand, won me over with the quick responses over email.
    They offer fairly inexpensive upgrades after you buy the product, and technical support
    is free.
    For simple experimentation, you can get the JavaCard SDK for free. At JavaOne, several
    years ago, they were giving away JavaRings with Card Readers (which presumably
    means these are cheap to buy) from SCM or some company in Texas. You might
    try to get one of these. They don't have much memory, but are an interesting twist
    on the Java Card thing.
    If you want to dive in, the Smart Card SDK from Schlumberger will run you about $499.
    This includes the reader, 5 cards, and the SDK. Likewise, Metrowerks puts out an
    IDE for Java Card which runs about $1200, and may be available as a bundle from
    vendors like Schlumberger.
    dk

  • Question about java objects and handles?

    Let me see if I can explain what I have. Inside my originating Java code, I create an object, let's call it object A, from a class I that I DON'T have the source for. It's not my class. Object A in turn creates an object, let's call it Object B, from a class I don't have the source for. Then Object A creates another object, let's call it Object C, that I DO have the source for, and passes it the reference to Object B that it created. My question is this: In my originating Java code, how do I get a reference to Object B? Or, how can I get the reference to Object C, which would allow me to get the reference to Object B?
    Hope everyone understands that?

    Thanks for the reply. Perhaps I should have mentioned that Object A does not have a method to return a referenece to Objects B and C. That's my problem. Was just wondering if there is some other way to obtain those refereneces. The reason I mentioned that I don't have the source code for Object A is because if I did, I could obviously write a method that would return me the references.
    I'm not new to Java, nor am I an expert either. I'm pretty well up-to-speed on object oriented design though.
    I'll provide more specifics on my problem just in case there is a solution to my problem. My code (class) is attempting to establish a connection with a mainframe computer through a web server portal using terminal emulation software provided by a 3rd party vendor. They provide an SDK that contains all the java classes necessary to establsih the connection. To establish the connection, you are required to build a java Properties object that contains all the parameters for the connection (host id, etc.) and pass that properties object to the constructor for the "Object A" class. That object actually establishes the session object using the parameters object you pass it. The session gets displayed in a standalone Applet ("Object A" class extends Applet). You can click on the applet, sign in to the system, and do whatever just fine using your keyboard. However, I wish to send commands to the session from my originating java code. The session object has a method to send commands to the session, but to do that, I need a handle to the session object that was created. I don't have that, and it appears they don't provide a method to get that. Looks like the vendor's intent was just for the user to interface with the session/Applet via the keyboard.

  • Notify JavaFX about Java objects changes.

    Good day. I'm trying to solve the problem with willions solutions. Unfortunately, I don't understand some part of them. The rest part of solutions doesn't work properly.
    The idea is very simple and naive.
    I have a rather complicated Java model (many Java beans live in runtime.)
    This Java model is wrapped with single controller (ModelController).
    ModelController is a singletone. It has several methods:
    1. addObject
    2. updateObject
    3. removeObject
    4. getObject (can't be modified, read-only mode)
    5. getModel (can't be modified, read-only mode)
    Also I have a JavaFX application which asks ModelController for model (*ModelController.getInstance().getModel()*) and displays this huge model.
    The problem is: i would like to send a notification to JavaFX part with message:
    Command{
    changeType=CREATE|UPDATE|DELETE
    objectId=someId
    It will be an object with two fields.
    So JavaFX part will go to ModelController.getInstance().getObject("someId") and repaint it.
    What is the best way for establishing such link?
    Is it possible to bind JavaFX to some variable of type Command.
    Java-part will change this variable with new value, JavaFX part will go to controller and ask for object in response.
    Please, help me.

    JavaFX classes can extend Java classes and interfaces. So just have a listener interface that you implement in JavaFX.
    class Model {
        ModelListener listener;
        public void addListener(ModelListener l) { listener = l; }
        void someFunctionThatUpdatesTheModel() {
            listener.notify();
    interface ModelListener {
        void notify();
    // In JavaFX...
    class MyModelListener extends ModelListener {
        override function notify():Void {
            // do something useful
    var model = new Model();
    model.addListener(MyModelListener{});

  • Java 5 Book Recommendation

    I'm seeing more and more Java 5 code everywhere I go. Anyone recommend a good book or good reference?

    Free Tutorials and Such
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java� Tutorial - A practical guide for programmers
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Free Java Books
    Thinking in Java, by Bruce Eckel (Free online)
    Core Servlet Programming, by Merty Hall (Free Online)
    More Servlets, by Marty Hall (Free Online)
    A Java GUI Programmer's Primer
    Data Structures and Algorithms
    with Object-Oriented Design Patterns in Java, by Bruno R. Preiss
    Introduction to Programming Using Java, by David J. Eck
    Advanced Programming for the Java 2 Platform
    The Java Language Specification
    Books:
    Head First Java, by Bert Bates and Kathy Sierra
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    If you dont like those, There always is Amazon, B&N, Safari Books, etc..
    JJ

  • Any good Java object oriented book?

    Hi,
    I am looking for a Java book that teaches good object oriented programming. Is there any good Java object-oriented book in the market?
    Thanks.

    "Thinking in Java" 2nd Edition by Bruce Eckels. You
    can download it from his website - the url escapes me
    at the minute. You should be able to find it no
    problem though.I second that recommendation (although it's "Eckel" without the "s"). He now has a Beta 3rd edition of the book.
    The URL is http://www.bruceeckel.com/

  • Please recommend me some books or source for objective c and iphone ipad development.

    Please recommend me some books or source for objective c and iphone ipad develpoment
    i am new in programing so know few things about xcode and programing development.
    so please recommend new books or other source that can help beginner like me.

    Mujtaba Tarar wrote:
    do u think xcode unleashed is for beginner?
    Not really. It is just one of the few decent books I've seen. If you are a true beginner, I suggest a computer science program at your local college or university.

  • Need to find a book about Java history

    Hello,
    I'm not sure I am posting in the right forum, but anyway...
    I am currently performing a research entitled "The use of the Java platform in the entertainment industry". To begin, I need a book where I could find hitorical information about Java cretion and evolution, but I can't manage to find one. The history given on the java.sun.com website is way too short and all the books I could find deal with technical aspect of Java...
    Does anyone knows a book that could interest me?

    Thanks for the links, but as it is an academic
    dissertation, I'd rather find a book... The Internet
    is still not really trusted as an academic source of
    information.
    So there's no chance for me to find a book with a
    proper history (better than the half page introduction
    in present in every Java programming book)Well then why not try journals? You won't find one book from which you can write your whole thesis, and if you did, you probably wouldn't get very good marks. As a guide, my MSc dissertation had around 300 references and 60k words, which is not uncommon. Journal articles are far more targetted, and certainly more likely to cover such a specific area as what you are asking of.

  • Java book recommendations

    I do realize that there are other similar topics in circulation, but I haven't found a satisfying answer.
    I am currenty reading: Java How to program - Fourth edition, Deitel and Deitel
    I am looking for a somewhat more advanced book to read when I have finished this one. My goal is to create an online text-based game. One problem is that I don't know how my program is supposed to communicate with the homepage, but maybe there will be answers for that in the book I am currently reading later on..
    Grateful for any suggestions!

    http://java.sun.com/developer/Books/javaprogramming/
    The Java Programming Language - 4th Edition, Arnold, K., Gosling J., Holmes D. (2006).
    Head First Java, by Bert Bates and Kathy Sierra
    Thinking in Java (Free online), by Bruce Eckel
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    The Java Programming Language - 4th Edition
    Effective Java
    Refactoring
    Design Patterns: Elements of Reusable Object-Oriented Software
    Head First Design Patterns
    Refactoring to Patterns
    Java Design: Building Better Apps and Applets (2nd Edition)
    ~

  • Where could I find some good free E-Book or paper about JAVA ?

    Dear All,
    I am searching some java websites , and find some free E-Book or paper about java,Could anyone tell me where those treasure are?
    I will deeply appreciate you .
    Thanks a lot !
    Caton

    You can try this one, tons of java resources:
    http://www.cl.cam.ac.uk/users/asa28/useful_java_research_links.htm
    Hope it helps.

  • Anyone has an e-book about java

    can anyone send me a copy, @ [email protected] thanks.......^_^;

    Free Tutorials and Such
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java? Tutorial - A practical guide for programmers
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Free Java Books
    Thinking in Java, by Bruce Eckel (Free online)
    Core Servlet Programming, by Merty Hall (Free Online)
    More Servlets, by Marty Hall (Free Online)
    A Java GUI Programmer's Primer
    Data Structures and Algorithms
    with Object-Oriented Design Patterns in Java, by Bruno R. Preiss
    Introduction to Programming Using Java, by David J. Eck
    Advanced Programming for the Java 2 Platform
    The Java Language Specification
    Books:
    Head First Java, by Bert Bates and Kathy Sierra
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch

  • Can anyone recommend a Java 3D Book

    Can anyone recommend a Java 3D Book. What I'm looking for is one that isn't too expensive below �30 ($40) and is quite uptodate with the new 3D API. Or is there a book that is coming out soon, which is said to be good.
    Thanks

    I looked for 3d book, there are not that many in bookstores, bought one "Ready-to-Run Java 3D" Wiley by Kirk Brown and Daniel Petersen.
    It's friendly but not very good at explaining things. Tutorials here on the site is much more helpful with simple but very useful examples.
    I wish I did not spend money on the book.

  • I know ZIP about Java. Where Do I Learn?

    I know virtually nothing about Java. I have avoided it but now I want to learn and so far everything I have seen is pretty much Greek. I have used FP2003 and Dreamweaver to build web pages but not delved ino the guts of Java. Where do I begin?
    Ionamic

    Here are some excellent resources for you:
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    New to Java Center
    The Java� Tutorial - A practical guide for programmers
    The Java� Tutorial - Trail: Learning the Java Language
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer Science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Books:
    The Java Programming Language - 4th Edition
    Head First Java, by Bert Bates and Kathy Sierra
    Thinking in Java (Free online), by Bruce Eckel
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    http://java.sun.com/developer/Books/javaprogramming/
    Good luck, and welcome to Java!
    ~

  • What is "dynamic" about Java?

    hi
    I'm new to Java and programing in general
    There are few things I don't understand about Java and OOP in general.
    1)
    How does memory allocation in Java differ from memory allocation in, say, C or pascal?
    * memory for all the variables declared in C is allocated at compile time. This way program can figure out at compile time whether there is enough memory to run a program.
    In Java memory for primitive types is allocated at compile time, but memory for objects is allocated at run time.
    So in other words, program has no way of knowing ( prior to running ) whether there is enough memory to run the program?
    2)
    Word "dynamic" is often used when talking about java. Does word dynamic in context of Java only refer to dynamic memory allocation, or does Java have some other "dynamic" features also?
    thank you

    No quiant like:
    Sitting in the sun with a book on Java;
      going back inside by the lamp with Lava.
    Swimming in the stream having nay a botha;
      laying on the shore to rest when I feel I'd ratha.
    Flying paper kites at the beach in summer;
      feeling wind in my hair, hear a distant hum<m>er.
    Going to the strip, hear the distant thunder;
      hear the flathead roar, see the red-light blunder.
    [pre]
    ~Bill                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • BPM queue get block

    Hi, I have a web services that use bpm scenario. Every time when a error example date type format happen on the bpm the queue with get block on smq2 and others request by the web services will get hold. Any way that can i disable this? Every time i h

  • Running clock on a jsp page

    Hi , I hav to set a clock on a jsp page which is dynamic can sumbody help me to do that ....... plz its urgent

  • Can we please have an option in slide shows widgets the slide show to stop when hovered?

    Can't believe this common feature is not there. Thanks a lot. Cheers, Branko

  • Want Batch mode in the Receiver  JDBC adapter

    Hi,   My scenario is  File  to JDBC .  from the source file I'm getting  20 records for file. after processing by XI while inserting the records into database level but due to some problem  some records are not inserting.. suppose first 5 records got

  • FAQ's or Knowledgebase

    Hi Is there a knowledge base or faqs out on this website anywhere or on any other website for business objects questions? thanks!