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/

Similar Messages

  • Any good Java books with Business Examples ?

    Can anyone recommend a Beginner Java book that has some good Business Examples ?
    (Don't recommend the SUN tutorial, as their examples are more for the rocket scientist).

    Not sure what you mean by business examples, but here goes.
    Check out Wrox for some excellent books - not all excellent.
    Check ot samspublishing for the same.
    I have a superb book called Learning java (O'Reilly) that I would recommend to anyone. It lacks complete examples, which I usually rely on, but is a major piece of work for the novice - I have found a large part of this book on the web also, can't remember where.
    My very favourite read is Wrox - J2EE Java server pages
    I would stilll recomend avoiding books by Manning which are generally incomplete and point to other books they have published for this other info.
    best,
    Kev

  • How to persist an entity with (any) Serializable Java Object as a field?

    Hello,
    I've understood, that in addition to basic and primary types, an entity bean can have basically any serializable object as its field. I just can't get it working. All I want, is just to have an entity bean with, for example, a HashMap or Properties as one of the its fields. And afterwards, when I'd query the bean again from the persistent storage, it would have the HashMap or Properties fields set just as they were while persisting the bean. So the basic functionality.
    So far, the only way I've gotten this working, is by defining the field as byte[] and then by using ObjectInput/OutputStreams and ByteArrayInput/OutputStreams I can read/write my HashMap or Properties as a byte[] and persist the entity... Not very clever, is it :)
    I've tried to annotate the field with @Lob but it eventually ends up with casting problems when fetching the data from the persistent storage, because TopLink gets a blob, a byte array from the persistent storage and doesn't know how to convert it into HashMap or Properties like I want it to.
    This was close to mine, but still didn't get it working..
    http://forum.java.sun.com/thread.jspa?threadID=749447&messageID=4287919
    ps. Working with AS PE9, MySQL and PostgreSQL..
    Best regards,
    Samuli

    Hello,
    Sorry, I'm not sure what you mean. The ID used for the entity does not need to match the actual database constraints, so you can use any mapping in the entity as the ID as long as its value will be unique. If it is not unique, you will run into problems when EclipseLink thinks the entity already exists, performing an update instead of an insert.
    Can you describe the performance problems you are having, and what type of sequencing you are using? It is possible to improve performance using batch writing and sequence pre-allocation.
    See http://wiki.eclipse.org/Optimizing_the_EclipseLink_Application_(ELUG)#How_to_Use_Batch_Writing_for_Optimization
    and http://wiki.eclipse.org/Optimizing_the_EclipseLink_Application_(ELUG)#Table_11-11 for some of the options available.
    Best Regards,
    Chris

  • SCDJWS Exam Objectives Oriented Book

    Hi
    I am planning to appear for SCDJWS certification exam for which i had a query regarding the preparation for it.
    Just like there is Kathy Sierra book available specific for SCJP certification objectives, is there any book available for SCDJWS certification?
    If yes, kindly provide the details of the book.
    Thanks
    Rohit

    no. One was being written but after the release date had been missed by some 2 years already the project now seems to have been abandoned.
    The amount of material to be absorbed for the exam is staggering, and most of it both bone dry and totally irrelevant to pretty much all real world web services development, making the exam both tedious and irrelevant itself.

  • Java: Any good?

    Hello, I'd just like to know if anyone could recommend any good Java books to read. I'm quite competent in programming in C, although I haven't really done much C++. As far as I know, Java is good for writing programs that can be run on most platforms without rebuilding, although it is relatively slow compared to an equivalent C program.
    Also, could anyone provide a brief comparison of the features of Java vs. C?

    The thing is, I actually started programming in Visual Basic (Oh the tragedy) and soon got to know all the little niggles that makes it difficult to write anything like efficient code.
    I'm not a fan of VB, but it does have it's use; especially in the area of rapid prototyping (and converting the world into dedicated drones that follow the queen bee found in the Gates of Bill)...ahem...sorry, flashback, must remind myself that resistence is NOT futile.
    The main reason I'd like to get into Java is because I've written a few programs in C for Windows that could (should) work on other platforms to do tasks centered around file format conversion.
    Sounds like a perfect reason to use Java. Like I said earlier, knowing which tool to use for a given set of circumstances is key.
    Given that there are security restrictions on what Java can and can't do, I'm wondering if it's worth bothering, or should I simply focus on making fully portable (Headers and all) C code.
    Technically, there aren't any "security restrictions on what Java can and can't do". You may be speaking of the sand-box associated with applets. However, the "restrictions" are configurable. Rights may be granted to Java programs (including applets if they are signed) to do pretty much anything usefull. Another very huge ++ for Java. In fact, I wish Sun would call it security considerations rather restrictions since it gives consideration to the needs/desires of the targets of your code. In other words, I can say "Hey buddy, I like your nice little file conversion utility, but I'm not gonna allow you to violate my private parts...Ryan"...er...there I go again with the flashbacks.

  • Any good books on Aperture 3?

    Any good tutorial or guide books for Aperture 3. I'd love to see a Scott Kelby-esque book on the software to work with.

    Some are mentioned in this Luminous Landscape thread:
    http://luminous-landscape.com/forum/index.php?showtopic=41963
    I have found the following resources useful:
    . The Ap3 manual in PDF form. Download, keep it open in Preview, annotate freely. Also on-line: http://documentation.apple.com/en/aperture/usermanual/index.html#chapter=16%26se ction=13%26tasks=true
    . The "Exploring Aperture" PDF, which contains some tutorials based on the sample library which ships with the Ap3 installation disk. http://support.apple.com/manuals/#aperture
    . The Apple video tutorials. Disappointedly lightweight, but still worth one run-through. http://www.apple.com/aperture/how-to/#video-quickpreview
    . There are some video tutorials sold here: http://shop.maccreate.com/collections/aperture-videos . Ellen Anon does a good job. The tutorial of Bricks is thorough. The one on Histogram is not. I found the Q&A webinar not worth the time it took to watch. The same Web site has a series of hints (free) -- there are worth paging through.
    . Other than the manual (900 pages) none of those are books. The Apple Pro Training book should be out next month (April 12). It seems to be the one to buy (trainers at my local Apple store are waiting for it). http://www.peachpit.com/store/product.aspx?isbn=0321647440

  • Good AS 2.0 books...

    Alrighty, so I don't do books. Any time I need something I go
    to the web, but I am now going to teach an AS 2.0 class and need a
    good book for my students. I'm going to Barnes and Nobles tonight
    to look through some, but wondered if y'all have any
    recommendations. Look forward to hearing your suggestions.

    SmpleJohn,
    > I am now going to teach an AS 2.0 class and need a good
    > book for my students. I'm going to Barnes and Nobles
    tonight
    > to look through some, but wondered if y'all have any
    > recommendations.
    Object-Oriented ActionScript for Flash 8 (friends of ED), by
    Peter Elst,
    Todd Yard, et. al.
    Essential ActionScript 2.0 (O'Reilly), by Colin Moock
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Object Oriented Patterns and Visio

    Visio question:
    Does anyone know if there are established shapes for each (or any) of the object oriented patterns? If not, is anyone working on that or interested in that?
    Since they all have names (Momento, Proxy, Iterator, Mediator, Observer, etc.) it seems like they ought to each have their own shape. Since Object Oriented is all about communication of intent, each pattern having its own recognizable shape would go a long way toward a more meaningful communication through diagram. Also, if they each had their own shape, then the super-patterns (based on commonly grouped patterns and interactions) could also be easily represented.
    Blaine

    I'm kind of making an assumption here and if it's in error then feel free to disregard the rest of this post.
    Assumption that you're thinking terms of shapes for representing in UML the various patterns. Everything you need is right there in front of you already regardless of whether you use Visio, Rational, Poseidon or some other UML tool.
    Patterns are not individual constructs. One does not make a Mediator class. One makes a Java class that is an implementation of the Mediator pattern. As such you would see in the static class diagram the same grouping of classes for an X Mediator as you would for Y Mediator. That is the image you're looking for. It's not a single widget that you drag onto the screen, it's in the pattern itself.
    If, however, you're talking about something like a graphical representation to give to managers that says "Here be Momento patterns", then I would postulate that you're trying to communicate information that they don't need nor should they concern themselves with. Patterns are an implementation issue. They deal with, "How" we will solve a problem, not what problem will we solve. Mangaers, IMNSHO, need only concern themselves with what problems we will solve, not how they will be solved.
    Just my 2 krupplenicks on the subject, your milage may of course vary.
    PS.

  • Blaze DS - Mapping java object into another java application

    Good afternoon,
    I realized a Client-Server application. Server is Java-based. Client is Flex. Server services are accessible through Blaze DS.
    Now I have some Java clients that need to access server services. Blaze DS permits to do it simply but I don't know how to map java objects as I do using [RemoteClass(alias.....)] construct at Actionscript side.
    For example, server sends a MyObjectType and client receives an ASObject.
    Is there a way to map java MyObjectType automatically at destination?
    Thank you for help and sorry for poor english.
    Regards, Francesco

    xstream will convert any given java object to xml. Not sure what support it offers for schemas.
    http://xstream.codehaus.org/

  • Anyone recommends a good book for object oriented programming

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    Some years ago I remember cutting my teeth on OOP using an excellent book by Grady Booch. If it's still in print and has been updated, it may be worth a look. Again it was decent. Also consider picking up a book on design patterns. Good luck.
    Edit: I found it, it's called "Object-Oriented Analysis and Design with Applications", and it's in its third edition. You can find it here on Amazon.
    Edited by: Encephalopathic on Apr 22, 2008 2:48 PM

  • Good book on Object Oriented Design?

    Can you recommend a good book on Object Oriented Design with lots of practical examples? I already have:
    http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Professional/dp/0201633612/ref=sr_1_1?ie=UTF8&qid=1238324375&sr=8-1
    But currently I need a book with a more basic approach.

    corlettk wrote:
    I like Thinking In Java... Also: google for "yawmark's list"TIJ is useless, especially for teaching OO design. It teaches (or tries to) Java as a procedural language.

  • Anyone recommends a good book for object oriented programming (advanced)

    I am a college student in computer engineering (Software) and have been programming using Java for over a year. I have become really interested in the design of softwares and the "beauty" of object oriented programming, and thus would like to advance my knowledge about the topic (my university offers an advanced oop class but I would have to wait another 6 months to take it). So my question is, could you recommend me any book that covers the subject of object oriented programming extensively? (I have learned most of the oop I know from "An Introduction to Programming and Object Oriented Design Using Java" by Nino and Hosch.
    Thanks in advance

    jwenting wrote:
    I never tire of pushing ["Agile Software Development, Principles, Patterns, and Practices "|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] by Robert Martin.
    You probably meant [Agile Software Development, Principles, Patterns, and Practices|http://www.amazon.com/Software-Development-Principles-Patterns-Practices/dp/0135974445] ;-)
    Remember, quotes in link names break the forum ...

  • Any good book on Java 3D

    Any good book on Java 3D
    thanks
    --jj                                                                                                                                                                                                                           

    Thanks A Lot,
    I am a beginner - not to Java but to Java 3D - I want to know what it has to offer me...something like - if I know Java 3D I can do...???
    Thanks
    --jj                                                                                                                                                                                                                                                                                                                                           

  • Whats a good JAVA book?

    What do you think is a good Java book for someone who has a little expericne with java? I have experience in COBOL and a little touch of C, and Visual Basic? Any suggestions?
    Thanks
    Justin

    I would suggest Java: an Introduction to Computer Science and Programming by Walter Savitch. This book assumes that the reader has no programming experience and it's aimed at students. I realize that you do have experience with COBOL, but I would recommend this one over the Core Java series to start out. Core Java volumes 1 and 2 are not good as an introduction for someone coming from a non-object oriented language. They would be a lot better for someone migrating from C++. They frequently refer to C++ and VB in their examples. They are excellent books, but better as a reference than an initial learning source.
    Ethan

  • 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.

Maybe you are looking for

  • Costs assigned to a cc/profit center

    hi, I need to pick up the costs that are assigned to the cost center / profit center (non project).  Which table do i use.  Currently, i get project costs from Covp.  can I get also these(Non project) costs also from Covp?  How do I know if they are

  • Install SAP NetWeaver 7.0 (2004s) - ABAP Trial Version  on a VM with W2K3

    Hi community, i tried to install the SAP NetWeaver 7.0 (2004s) - ABAP Trial Version on a VM-Image of Windows 2003 server, but received a 601-error concerning the MaxDB-Installation (but surely there was no SAP-installation before)..has anyone an idea

  • Ipod & itunes library Hwelp needed please

    Hi, I need a little help please organising my itunes library before I synch with my ipod. i have created two new folders in itunes, Audiobooks & ipod games, but cant fid a way to move the item I want from my Music library into the Audiobook library.

  • Change ISO image of Solaris 10 install CD

    Hi all Is possible change iso image for Solarix 10 at may local machine? I want to add there patch, driver or change initial parameters. How can I do it? Please give me advise. Thanks Robert

  • SLI Switch Card Seating Technique

    I have read several posts on the issue of getting the stupid SLI switch card to seat properly on the Neo4 Platinum SLI motherboards, but I have been unable to do that on my system. Maybe I just didn't get the technique. I pushed my card into the slot