Please recommend a best practices book

Can someone recommend a core java best practices book.
I have read several books and yet when someone says use a tagging interface... I just look at them and wonder what they are talking about.. then I google and find out.. There may be several such terms that I am not aware of... How do I learn about these terms like POJOs etc.. People keep using words like POJOs and then I find out its nothing but a java class object.. but how do I know that?
Someone once said "You know only 5%, 20% you know you dont know, 75% you dont even know that you dont know".. Which book can give me that 75% ?
I know basic datastructures etc.. but when to apply what is what I want to learn.
A book which talks about when to use which datastructure, good usage of interface examples, and best practices that are used in real application production environment. Can someone please recommend a good book like that ? Is there any ? Real cases?

Maybe this should be a different thread but how do
programmers organize folders for projects?
Every company has a common java classes shared by
programmers I presume? That must be located in a
central access place and I am curious how they
organize folders?Folders? Maybe. Version control system, with a "commons" tree? Better.
Have a look at Matt Raible's AppFuse. It's a fine example organization for a project.
As for me, I do something like this:
I build with Ant: http://ant.apache.org
/source is the directory where anything I check out of version control will go.
Under that:
/java - .java source files.
/lib - 3rd party JARs (e.g., JDBC drivers, etc.)
/jsp - JSPs
/etc - deployment descriptors, like web.xml, etc.
/xml - XML files
/xsl - XSL stylesheets
/html - HTML files
/css - cascading stylesheets
/sql - SQL scripts for creating, altering, populating relational tables.
%

Similar Messages

  • Could someone please recommend the best program to convert AVI and MPEG files for use (and exporting) into IMovie 11?

    Hi - I understand I need to convert AVI and MPEG files for use within IMovie 11. I have one particular file that has a watermark stating "Created with Flip4Mac WMV Demo". Can someone please recommend the best program for a novice?  Thanks!

    Hi Susan,
    It is no simpler converting vobs to mp4 than mpg (mpeg2).
    There is *always* a loss of quality converting video from one lossy-compressed format to another, e.g. mpeg2 to mp4.
    So, if you want to not lose any quality, then converting vobs to mpeg2 (mpg) is the thing to do (since there will be no video/audio re-compression), assuming Lr5 will accept them (sorry, but I do not know). example commands:
    Mac: ffmpeg -i myvideo.vob -sameq myvideo.mpg
    Win: ffmbc -i myvideo.vob -sameq myvideo.mpg
    If Lr5 won't accept them, then you can convert to mp4 with minimal quality loss using a command like:
    Mac: ffmpeg -i myvideo.vob -sameq myvideo.mp4
    Win: ffmbc -i myvideo.vob -sameq myvideo.mp4
    You may need variations of these commands depending on encoding of vob.
    Note: -i means -input-file; -sameq means -same-quality, as much as possible.
    ffm... is smart enough to avoid re-encoding, if possible, when -sameq is used, and makes reasonable choices for audio/video codecs based on extension of output file.
    Of course, you'll need to download/install ffm... program if not already on your machine, and execute commands in a terminal or command window.
    Do keep us posted please .
    Cheers,
    Rob

  • Help Please!!  Best Practices for building an NDS Project...

    We are doing a Proof of Concept on using NDS to develop non-SAP Java applications. We are attempting to determine if we can replace our current Java development tools with NDS/WAS.
    We are struggling with SAP's terminology and "plumbing" for setting up/defining Java projects. For example, what is and when do you define Tracks, Software Components, Development Components, etc. All of these terms are totally foreign to us and do not relate to our current Java environment (at least not that we can see). We are also struggling with how the DTR and activities tie in to those components.
    If any one has defined best practices for setting up Java projects or has struggled with and overcome these same issues, please provide us with some guidance. This is a very frustrating and time-consuming issue for us.
    Thank you!!

    Hello Peggy,
    this is my first post but I hope it helps you anyway.
    To learn the SAP "language" I additionally used the a SAP Presentation regarding the SAP JDI.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/java development infrastructure real world use webinar.pdf
    I think this one is quite useful as an addon to the other links for information you already got. Your name also indicates that your mother-tongue language is German. If so, the german version of the book (Java-Programming with the SAP WAS) is already available for purchase and really useful. Then, you can also use the information provided by the University of Potsdam. They have an introduction about how to setup a track in the SLD and then how to setup SCs.
    http://epic.hpi.uni-potsdam.de/nwlab/SC+Track.html
    Hope this helps...

  • Please recommend an OS X book

    Hi, I badly need a book to teach me the intricacies and methods of how to best use the OS X LION.
    Please recommend a suitable title, or titles, from your own experience.
    Thank you
    roystonfrombrighton.

    David Pogue's book would be even better if were in print. Currently (8/29/11), booksellers like Amazon are taking orders, but it isn't for sale yet. I suspect the reason why it's taking so long to come out is because of the added detail and length.
    If you can't wait, Bob LeVitus is an experienced writer on Apple devices, and his Dummies guide http://www.amazon.com/Mac-OS-Lion-Dummies-Computers/dp/111802205X/ref=pd_sim_b_4 will be useful for those who want a more accessible style. Robin Williams's book is a little meatier http://www.amazon.com/Mac-OS-Lion-Peachpit-Learning/dp/0321777018/ref=pd_sim_b_5 and I've really liked his past stuff.

  • Another newbie question (sorry)---Please recommend a good training book?

    And where to order?
    Thanks.

    All these books are great - and I've read them all and done the exercises. But I have to put in my 2 cents and recommend Larry Jordan's book and web site. The book is well written and understandable. His web site is full of great tips, and his free monthly e-mail newsletter is great. Now, he has a new newsletter called Edit Well published in conjunction with Peachpit Press.
    Details on all this at: http://www.larryjordan.biz/
    Good Luck! And welcome to Final Cut!

  • Please recommend the best free domain compatible with iweb

    can someone recommend a free domain where i can host my site? i would like to make the website with iweb. please also tell me how to upload it to that domain. just a general idea would be enough.
    thanks for your time.
    Neerav

    To upload to such server you need a ftp application.
    [Cyberduck|http://cyberduck.ch] is the recommended one.

  • Please recommend the best audio interface not the firebox!!!!

    i am not sure if this unit is doing what i want it to do.
    what audio interface are you using (firewire) to record external synth/guitar
    and recording out of its audio outs to a recording device like a minidisc at the same time monitors are connected to it. The firebox is eccentric, sometimes the drivers are there in the midi audio and sometimes they arent.
    which brand are you using with consistent results?
    its always hit and miss with this firebox. im using OS 10.4.11 and just upgraded the new software mixer and control at its web site.
    garageband has gotten so good now its the audio interface failing me.
    thanks

    I use the M-Audio Firewire solo. It's super reliable and I think it's got everything you need. As long as your drivers are good, you're good to go. Just make sure that you DO NOT plug it in when the computer is on (as with all firewire products)! I ruined one that way.. then turned around and bought another one.
    Love the thing.
    http://www.m-audio.com/products/en_us/FireWireSolo-main.html

  • External System Authentication Credentials Best practice

    We are in the process of an 5.0 upgrade.
    We are using NTLM as our authentication source to get teh users and the groups and authenticate against the source. So currently we only have the NT userid, group info(NT domain password is not stored).
    We need to get user credentials to other systems/applications so that we can pass that on the specfic applications when we search/crawl or integrate with those apps/systems.
    We were thinking of getting the credentials(App userid and password) for other applications by developing a custom Profile Web service to gather the information specific to these users. However, don't know if external application password is secured when retrieving from the external repository via a PWS and storing into the Portal database.
    Is this the best approach to take to gather the above information? If not, please recommend the best practice to follow.
    Alternatively, can have the users enter the external system credentials by having them edit their user profile. However, this approach is not preferred.
    If we can't store the user credential to the external apps, we won't eb able to enhance the user experience when doing a search/or click-thorugh to tthe other applications.
    Any insight would be appreciated.
    Thanks.
    Vanita

    Hi Vanita,
    So your solution sounds fine - however, it might be easier to use an SSO Token or the Plumtree UserID in your external applications as a difinitive authentication token.
    For example if you have some external application that requires a username and password, then if you are in a portlet view of the application the application should be able to take the userid plumtree sends it to authenticate that it is the correct user.  You should limit this sort of password bypass to traffic being gatewayed by the portal (i.e. coming from the portal server only).
    If you want to write a Profile Web Service, the data the gets stored in the Plumtree Database is exactly what the Profile Web Service send it as the value for a particular attribute.  For example if your PWS tells Plumtree that the APP1UserName and APP1Password for user My Domain\Akash is Akash and password then that is what we save.  If your PWS encrypts the password using some 2-way encryption before hand, then that is what we will save.  These properties are simply attached to the user, and can be sent to different portlets.
    Hope this helps,
    -aki-

  • Performance Tuning Best Practices/Recommendations

    We recently went like on a ECC6.0 system.  We have 3 application servers that are showing a lot of swaps in ST02. 
    Our buffers were initially set based off of SAP Go-Live Analysis checks.  But it is becoming apparent that we will need to enlarge some of our buffers.
    Are there any tips and tricks I should be aware of when tuning the buffers? 
    Does making them too big decrease performance?
    I am just wanting to adjust the system to allow the best performance possible, so any recommendations or best practices would be appreciated.
    Thanks.

    Hi,
    Please increase the value of parameters in small increments. If you set the parameters too large, memory is wasted. This can result in paging if too much memory is taken from the operating system and allocated to SAP buffers.
    For example, if abap/buffersize is 500000, change this to 600000 or 650000. Then analyze the performance and adjust parameters accordingly.
    Please check out <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6f4e505211d189550000e829fbbd/content.htm">this link</a> and all embedded links. The documentation provided there is fairly elaborate. Moreover, the thread mentioned by Prince Jose is very good for a guideline as well.
    Best regards

  • Just updated to CC 2014. Interested in best practice recommendations for converting INDD hi-resolution print layout files to .jpeg for use on a portfolio preview website

    Seeking recommendations for best practices for converting hi-res magazine INDD docs to .jpgs for web portfolio

    Export to a hi-res PDF, then do your conversion in Photoshop where you have more control.

  • Moving Mailserver from Xserve G4 to intel, Best practice?, Recommendations?

    Hi!
    I will receive a new Xserve intel soon and possibly want to move mail services from the currently used Xserve G4 (which is working fine) to the new Xserve intel.
    The Xserve G4 is running a heavily modified mail setup thanks to pterobyte's excellent tutorials on fixing, updating, extending, dare I say "pimping" Mac OS X Server's mailserver setup.
    What I want to achieve in the long run:
    Have Mail services run on the Xserve intel and have the Xserve G4 work as a mailbackup. (They will be connected via permanent VPN, but be in different LANs on different ISPs). They shall be serving email for at least three distinct domains then. (All low volume. currently the G4 is serving a single domain using WGM aliases.) I want (and need) to switch to postfix aliases.
    What I need to consider:
    My client desperately wants/needs to update to Leopard server once it becomes available. Both Xserve definitely will be upgraded to Leopard Server then.
    Time is not an issue at the moment as the G4 is working very well. I want to keep the work at a minimum in regard to the Leopard switch. I am fine with an interim solution, even if it is somewhat inelegant, as long as it runs fine. The additional domains are not urgent at the moment. It will be fine when they transfer to the intel Xserve once we run Leopard.
    Questions:
    Does it pay to do all the work moving from the G4 to the intel (I'd need to compile and configure all the SpamAssassin, ClamAV, Amavisd-New, etc. again...) move all the Mailboxes, Users, IMAP and SMTP. In regard that there will be a clean install once Leopard comes out. (I am definitely no fan of Updating a Mac OS X server. Experience has proven to me that this does not work reliably.)
    Are there any recommendations or best practice hints from your experience when moving a server from PPC to intel?
    Thanks in advance
    MacLemon

    By all means do a clean install. If time is not an issue, make sure Leopard has been on the market 2-3 months before you do so.
    Here is what I would do:
    1. Clean install of Intel Server
    2. Update all components
    3. Copy all needed configuration files from PPC to Intel Server
    4. Backup PPC mail server with mailbfr
    5. Restore mail backup with mailbfr to Intel Server
    This is all that needs to be done.
    If you want to keep the G4 as a backup server, just configure it as a secondary MX in case your primary is down. Trying to keep mailboxes redundant is only possible in a cluster and a massive pain to configure (Leopard should change that though).
    HTH,
    Alex

  • BPC 7M SP6 - best practice for multi server setup

    Experts,
    We are considering purchasing new hardware for our BPC 7M implementation. My question is what is the recommended or best practice setup for SQL and Analysis Services? Should they be on the same server or each on a dedicated server?
    The hardware we're looking at would have 4 dual core processors and 32 GB RAM in a x64 base. Would this adequately support both services?
    Our primary application cube is just under 2GB and appset database is about 12 GB. We have over 1400 users and a concurrency count of 250 users. We'll have 5 app/web servers to handle this concurrency.
    Please let me know if I am missing information to be able to answer this question.
    Thank you,
    Hitesh

    I don't think there's really a preference on that point. As long as it's 64bit, the servers scale well (CPU, RAM), so SQL and SSAS can be on the same server. But it is important to look also beyond CPU and RAM and make sure there's no other bottlenecks like storage (Best practice is to split the database files on several disks and of course to have the logs on disks that are used only for the logs). Also the memory allocation in SQL and OLAP should be adjusted so that each has enough memory at all times.
    Another point to consider is high availability. Clustering is quite common on that tier. And you could consider having the active node for SQL on one server and the active node for OLAP (SSAS) on the other server. It costs more in SQL licensing but you get to fully utilize both servers, at the cost of degraded performance in the event of a failover.
    Bruno
    Edited by: Bruno Ranchy on Jul 3, 2010 9:13 AM

  • Best  practice: Fade out content when slide advances automatically?

    I have a course that uses the playbar to navigate and have the slides advancing (for the most part) automatically. Do you recommend setting the last content that's on the slide to fade out? I feel like it's jumpy if it doesn't but looks so sudden too.
    Please share your best practices!

    This one of those "it depends" questions.
    For the very first introductory module of a course I generally do not have the final slide fade out because I usually have a graphic on that final slide that shows what they should click next in the LMS interface to get to the next lesson.  So I want that image to remain visible until they shut down the browser window.  Doing this has avoided issues with newbie users getting lost in the LMS and not knowing how to proceed.
    However, this ends up being unnecessary for all subsequent modules, so for them I usually have the Project End option set to fade out.

  • Best practices on using OLM for sign-off on compliance policies?

    We are working on a project to build a parent/child learning object that will include four compliance policies and a "test" to sign off acceptance of these policies as a condition of employment. Has anyone implemented something like this? If so - can you please share some best practices around this type of implementation. Our plan is to build a learning certification.
    We are also interesting in looking into how to automate the assignment of the learning certification to all new hires. Any info here would also be appreciated.
    Thanks - Juli

    We use 11.5.10j...One thing I would recommend is creating an introductory module as child object to the certification, and a concluding module as child object as well.
    In the learning objects I have done where a parent/child relationship exists, the introductory module is important for several reasons, including instructing learners about how to expand the OLM Player outline on the left to move to the next module (in 11.5.10j, at least, it doesn't expand automatically so the general population is not going to understand they need to expand and move to the next module. You might try to tell people to do that independently of the course but we've found it's best to put as part of the course.) The introductory module also includes things like objectives, expected duration, completion requirements, audience, etc.
    As for the concluding module, I include a concluding module to instruct people that they have reached the end and provide a screenshot of the OLM Player "Home" button to instruct them to return to the OLM home page. Using the OLM "Home" button circumvents issues with popup blockers suppressing the passing of completion information back to OLM when exiting using the IE exit button and is generally a cleaner way to exit the course. Again, instructions might be provided independent of the learning object but most will not pay attention to those. There is a patch to test for the presence of popup blockers and alert the user so that there might be less need for a concluding module to do this but we have not been able to implement this yet due to problems caused after it was applied.

  • Best practices for setting up users on a small office network?

    Hello,
    I am setting up a small office and am wondering what the best practices/steps are to setup/manage the admin, user logins and sharing privileges for the below setup:
    Users: 5 users on new iMacs (x3) and upgraded G4s (x2)
    Video Editing Suite: Want to connect a new iMac and a Mac Pro, on an open login (multiple users)
    All machines are to be able to connect to the network, peripherals and external hard drive. Also, I would like to setup drop boxes as well to easily share files between the computers (I was thinking of using the external harddrive for this).
    Thank you,

    Hi,
    Thanks for your posting.
    When you install AD DS in the hub or staging site, disconnect the installed domain controller, and then ship the computer to the remote site, you are disconnecting a viable domain controller from the replication topology.
    For more and detail information, please refer to:
    Best Practices for Adding Domain Controllers in Remote Sites
    http://technet.microsoft.com/en-us/library/cc794962(v=ws.10).aspx
    Regards.
    Vivian Wang

Maybe you are looking for

  • Samsung i500 No longer syncs with Apple

    Where can I go for help!!!! I was sold a Samsung Droid i500 Galaxy phone by a Verizon wireless store . I was told that it would work with Apple Mac. I was able to sync my phone with my Mac comuter for a few weeks, and then it no longer would snyc. I

  • Sales (and other) by Hour

    I am creating a report that categorizes certain sales data by hour. For example: Time Customers Items Sales 8:00 - 9:00 54 413 $954.52  So far I am just using a CASE statement such as: SUM(CASE WHEN SE.TIME_STAMP BETWEEN DATEADD(HH, 0, @START_DATE) A

  • 10.1.3 ADF Swing New Features Question

    One of the 4 new features for ADF Swing in JDeveloper 10.1.3 is stated as: "ADF Swing In the past, deploying an ADF Swing application entailed deploying the ADF runtime libraries,  and then packaging and deploying your application class files. This p

  • Data dictionary table where the structure of table is stored ???

    hi does anyone have idea where the structure of created table is stored in data dictionary. I have idea like where constraints are stored,indexes are stored etc. But I am looking if there is any data dictionary table which has this information too..

  • Server0 does not start

    Hi, I´ve an ABAP + JAVa system and I did a homogeneous copy and now the J22 engine does not start and is strange because nothing is written into the /usr/sap/SID/DV*/j2ee/cluster/server0/log. Can someone help me as soon as possible? Thnaks a a lot an