Can anyone share with me how you  write Javadoc?

Can anyone share with me how their companies write Javadoc?
Are your developers solely responsible for it? Do your technical writers own it or review it? How do you make sure it's good?
Right now, my software developers are mostly responsible for writing all the API info and it's of poor quality and really lacking details. I don't mean spelling/grammar-type problems. My developers just don't seem to "get" what information to include, no matter how many guidelines or checklists I give them.
A very simple example is:
* Gets the status
public java.lang.Integer getStatus() {...}With no indication of what status values may be returned and what the values might mean.
How do you ensure that what you write is actually useful? Please help!
I'm aware of the method Sun recommends, but I want to know what others do.
Thank you

Hi,
Well, concerning the question what a good API documentation should be. Just imagine, you are a programmer and you want to use that API. You need to know how it works. There can be only three ways to find it:
(1) The API documentation
(2) Probing experiments. Even a good documentation may not describe everything. Sometimes, the only way to understand certain things you particularly need may be guessing something, writing a code basing on it and see how it works. Then, guessing something again, more precisely now, and so on. Even a very good documented API (for instance, javax.swing) may require that sort of approach to be able to use it eventually.
(3) At last, when source codes are available, one may look at them and try to understand precisely, what a particular method actually does.
I think the better the API documentation the less one may need to endeavor those two last steps. There is actually a limit about it. Without any proper explanation at all, one may never be able to use a particular API, neither after probing it nor after looking at source codes (that is not to say the sources may be simple unavailable at all).
Concerning how to write the API documentation, that's mostly the question of managing your team. I think, basically, the original source of the ultimate information about everything implemented in the projects are those very programmers (developers) and, probably, some software architects. But those guys normally are not especially eager to write any documentation (especially developers). That your example just demonstrates it. It seems, your programmers just wrote that "Gets the status" for you to make them leave in rest after that. In addition, the programmers normally have such a sort of work and activity that does not match particularly well with the writing literature and doing their main job simultaneously. You should not enforce them to do that!
To write a good documentation, you will need to engage a technical writer. That's normally a guy with some programming background. However, writing some literature is actually what he does the best. (Sometimes, such people do something else about written word beyond the technical writing.) The job of that guy would be to write the documentation. This will take from him (or her) two basic things:
(1) The ability to understand the whole software system (that's where his programming background will be needed!);
(2) To communicate with the programmers who have developed the stuff and to obtain from them all the necessary information they know. That may require some personal (verbal) communication with them, because asking them to write everything again will only result in the same "Gets the status" explanations. However, to be successful in this, the technical writer needs to have some explicit management approval behind him. Otherwise, some of the guys will avoid speaking to him at all (saying they lack the time). So, the management should assign them the necessary priority for such communications.
Particularly big projects may even need to have the whole team of technical writers.
Anyway, writing docs is a hard work. But it is extremely important! The good documentation may both increase your sales and eliminate lots of expense on further support of your customers.
Regards,
Leonid Rudy
http://www.docflex.com

Similar Messages

  • I'm having a hard time with my sound blaster z sound card to sync with cs6. Can anyone share with me

    I'm having a hard time with Adobe CS6 synching up with my soundcard. Latency settings and other applications are challenging at this time. I had 3.0, but my Windows 7 computer is now "deceased". Please help.

    I endorse everything that Steve just said but to try and get you going while you're shopping for an audio interface more suitable for sound work than use as a doorstop, try the following:
    Go to the Windows sound control panel and make sure the SB card is selected as the default on both the Recording and Playback tabs.  On the advanced menu for both, set the bit depth and sample rate to either 16/44,100 (CD) or 16/48,000 (Video) depending what suits you best.  Note that your SB card only works natively at 16/48,000  so anything else involves a conversion that the card hides from you.
    Go to the Windows Control panel and, under the sound section, turn off all system sounds (since they can hijack your sound card).  Close every other application that may want to use the sound card (internet for example).
    In Audition, go to Edit/Preferences/Audio Hardware.  Set the device class to MME.  On the drop down menus set the Default Input and Default Output to be your Soundblaster.  On the Master Clock set it for the SB Output (this'll likely be default).  Set the latency at around 200ms (you may need to increase this later if your playback stutters--or you can try decreasing it until you get stutter, then take it back up a bit.  Set the sample rate to whatever you selected on the Windows Sound Control Panel.
    The Soundblaster will likely have installed it's own control menu.  Go to this and select Mic or Line as appropriate for the input and whatever you need for the output.  I can't be more specific as SB keep changing what they call things.
    Hopefully this'll get you going even if it's not the best compromise for quality and latency.

  • Why my method is not working can anyone tell me plz how to write the 2darry

    public class fourth {
    int z;
    int h;
    public int[][] table(int z)(int h ){
    int[][] two = new int[z][h];
    for (int i=0; i < z; i++) {
    for (int j = 0; j < h; j++) {
    two[z][h] = (int) (z * h);
    return two;
    }

    I hope you are looking for the following code.
    Try to learn the syntax, it will help you in writting code.
         public class fourth {
              int z;
              int h;
              public int[][] table(int z, int h) {
                   int[][] two = new int[z][h];
                   for (int i = 0; i < z; i++) {
                        for (int j = 0; j < h; j++) {
                             two[z][h] = (int) (z * h);
                   return two;
         }

  • I have an itunes icon and the usb cable picture in my itouch and i cant get it off as this is frozen on my screen. Can anyone help with this    thank you

    I have a picture of the itunes icon and a usb cable on my screen and cant seem to get rid of it as it is frozen with this on. Can any one help please

    Connect the iPod to your computer and restore via iTunes
    iTunes: Restoring iOS software

  • Can anybody share with me software products that block **** etc. that are compatible with Apple computers? My boys have a MacBook

    Can anyone share with me which 3rd party software that blocks **** is compatible with Apple computers?

    Each child should have his own account, and understand that others' accounts are not to be tmapered with.
    Parental Controls is already built into Your Mac. All you have to do is configure it. This Video explains the basics.
    Mac OS X: Parental Controls
    Pørn may give your child an odd view of human interactions and be repugnant to you, but that is trivial compred to the real threat on the Internet: Unsupervised chat. Pørn will not arrange to meet your child after school ...

  • Can anyone help with associate my new iPhone with iTunes? My other old devices are there, but I see only how to delete one, not how to add one.  Thank you.

    Can anyone help with associate my new iPhone with iTunes? My other old devices are there, but I see only how to delete one, not how to add one.  Thank you.

    iTunes Match is a subscription system that allows you to upload your own music (e.g. coped from CDs) to the cloud so that it shows (in the cloud) on your devices and computers without having to sync/copy it.
    Automatic downloads allows to, for example, buy an app on your computer's iTunes and have it automatically download on your phone without having to connect and sync it or go to the Purchased tab in the App Store app on your download and download it yourself - but doing that, going to the Purchased tab and redownloading an app, should get it associated.
    But no, I'm not aware of any problems that not having it associated causes.

  • Can anyone please guide me how to create a table like employe table with 10

    Hi,
    can anyone please guide me how to create a table like employe table with 10colums.
    after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
    using the RFC we need to update the personal details coulums (either select query or Insert command)
    if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
    thanks in advance
    srinivas

    Hi....
    We are having one table and now i am going to update that table's fields...
    for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
    and in source code just write like following....
    ( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
    FUNCTION ZL2C_UPDATE_MYCUSTOMER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(USR_ID) TYPE  USRID
    *"     VALUE(LOGO_ID) TYPE  KUNNR
      DATA ls_mycust TYPE zl2cmy_customer.
      DATA: name1 TYPE name1_gp.
      DATA: sharpoint_url TYPE url.
      ls_mycust-usr_id        = usr_id.
      ls_mycust-logo_id       = logo_id.
      SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
        ls_mycust-name1       = name1.
        SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
          ls_mycust-sharpoint_url = sharpoint_url.
          INSERT into zl2cmy_customer values ls_mycust.
          COMMIT WORK.
        ENDFUNCTION.

  • HI, could anyone please tell me how you can delete more than 1 photo at a time or ipad or ipod touch?

    HI there, could anyone please tell me how you can delete more than 1 photo at a time on ipad and ipod touch??

    Delete multiple pictures at 1 go.
    1. Click the box with arrow on top right of Album.
    2. Select pictures to delete
    3. Tap Delete
    http://i1224.photobucket.com/albums/ee374/Diavonex/86e1a2c37a805bca2ccacc66c95ce 934.jpg

  • Hi Everyone, i lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...

    Hi Everyone,
    I lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...
    hmmm...how i hate myself for being such a careless person...
    PLEASE HELP ME...
    Thank you in advance.
    Keynotes '09
    Version 5.1.1 (1034)

    How exactly did you shut down your laptop? Not a hard restart (holding down the power button), I hope... if that's the case, then it is extremely unlikely the file is still intact on your computer. If it is, it would be an image on your RAM, and it is time-and-resource-intensive to recover it if it is even there. RAM memory is disposable and always being written over. Sorry dude...
    If it wasn't a hard restart, Keynote should have made a backup, unless you 'Force Close'd it.
    It really all depends on how your mac was shut down.

  • Can anyone share how to install Internet Explorer version 7.0 to 10.0 onto a mac

    Can anyone share how to install Internet Explorer version 7.0 to 10.0 onto a mac ?? Thank you

    Do you want to install IE on a Bootcamp/Windows or OSX? OSX does not have IE anymore. The last IE was v4.0 for native OSX.

  • HT2492 When I try to update Adobe Flash Player I'm prompted to quit Safari and Dashboard Client. I quit Safari but I don' know how to quit Dashboard Client. Can anyone help with this challenge?

    When I try to update Adobe Flash Player I'm prompted to quit Safari and Dashboard Client. I quit Safari but I don' know how to quit Dashboard Client. Can anyone help with this challenge?

    Carolyn,
    Thank you. It worked
    Angus.

  • I purchased an iPod touch few months back. And i am very upset with the volume output it produces. iPod being an music player, has poor volume quality then my iPhone 3gs. Can anyone pls help. How do i rectify it?

    i purchased an iPod touch few months back. And i am very upset with the volume output it produces. iPod being an music player, has poor volume quality then my iPhone 3gs. Can anyone pls help. How do i rectify it?

    Problem with both the speaker and earphones?
    Have you tried another pair of headphones?
    Yu can try the standard fixes to rule out a software problem:
    - Reset. nothing is lost.
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.

  • HT1338 I have itunes version 10.6.3 it seems outdated and needs to be updated with latest version so that Iphone 5 can be connected. Can anyone help me know how to have latest version on my MAC

    I have itunes version 10.6.3 it seems outdated and needs to be updated with latest version so that Iphone 5 can be connected. Can anyone help me know how to have latest version on my MAC

    You need to purchase a Mac OS X 10.6 DVD, which requires an Intel Mac with at least 1GB RAM. Run Software Update twice afterwards.
    If you're already running Mac OS X 10.6, run Software Update until it gives you the option of installing iTunes 11.
    (74797)

  • My Mac is producing gray screen at startup and crashes. I'm afraid that everything explode and disappear, and can no longer connect and work with my Mac. Can anyone help ?? Thank you.

    My Mac is producing gray screen at startup and crashes. I'm afraid that everything explode and disappear, and can no longer connect and work with my Mac. Can anyone help ??
    Thank you.
    Problem description:
    gray screen at startup and crashes
    EtreCheck version: 2.1.1 (104)
    Report generated 6 de dezembro de 2014 13:29:43 BRST
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      AMD Radeon HD 6750M - VRAM: 1024 MB
      Color LCD 1440 x 900
      Intel HD Graphics 3000 - VRAM: 384 MB
    System Software: ℹ️
      Mac OS X 10.6.8 (10K549) - Uptime: 0:31:56
    Disk Information: ℹ️
      TOSHIBA MK7559GSXF disk0 : (698,64 GB)
      S.M.A.R.T. Status: Verified
      - (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 749.81 GB (378.70 GB free)
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple, Inc. MacBook Pro
    Problem System Launch Daemons: ℹ️
      [not loaded] org.samba.winbindd.plist [Support]
    Launch Agents: ℹ️
      [running] com.babylon.activation.plist [Support]
      [loaded] com.divx.dms.agent.plist [Support]
      [loaded] com.divx.update.agent.plist [Support]
      [loaded] com.hp.help.tocgenerator.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.facebook.videochat.[redacted].plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [running] com.skype.c2c_service.plist [Support]
    User Login Items: ℹ️
      iTunesHelper UNKNOWNHidden (missing value)
      FaceboxPro Aplicativo (/Applications/FaceboxPro.app)
      Safari Aplicativo (/Applications/Safari.app)
      Octoshape Aplicativo (/Users/[redacted]/Library/Octoshape/Octoshape.app)
      uTorrent UNKNOWN (missing value)
      Dropbox Aplicativo (/Applications/Dropbox.app)
      Inkscape UNKNOWN (missing value)
      RealPlayer Downloader Agent Aplicativo (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
      HP Product Research Aplicativo (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
    Internet Plug-ins: ℹ️
      OVSHelper: Version: 1.1 [Support]
      Google Earth Web Plug-in: Version: 7.1 [Support]
      Flip4Mac WMV Plugin: Version: 2.4.4.2 [Support]
      RealPlayer Plugin: Version: Unknown [Support]
      AdobePDFViewerNPAPI: Version: 10.1.12 [Support]
      FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
      DivX Web Player: Version: 3.1.1.9 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.6.6
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
      SharePointBrowserPlugin: Version: 14.1.2 [Support]
      AdobePDFViewer: Version: 10.1.12 [Support]
      JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
    User internet Plug-ins: ℹ️
      npsf_uni: Version: sf 3.3.2.1 [Support]
      OctoshapeWeb: Version: 1.0 - SDK 10.8 [Support]
    Safari Extensions: ℹ️
      Searchme Adware! [Remove]
      Skype Click to Call
      iSkyDeluxe
      TED HTML5 video playe
    Audio Plug-ins: ℹ️
      iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
      Skype Click to Call  [Support]
      Tuxera NTFS  [Support]
    Time Machine: ℹ️
      Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
          5% WindowServer
          4% DivXMediaServer
          1% fontd
          0% RealPlayer Downloader Agent
          0% WebProcess
    Top Processes by Memory: ℹ️
      296 MB WebProcess
      202 MB FaceboxPro
      185 MB Microsoft PowerPoint
      163 MB Safari
      137 MB Microsoft Word
    Virtual Memory Information: ℹ️
      843 MB Free RAM
      1.76 GB Active RAM
      706 MB Inactive RAM
      978 MB Wired RAM
      577 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 6, 2014, 12:58:24 PM Self test - passed
      Dec 6, 2014, 12:23:11 PM Kernel_2014-12-06-122311_MacBook-Pro-de-...panic [Details]
      Dec 6, 2014, 07:08:28 AM PluginProcess_2014-12-06-070828_MacBook-...crash
      Dec 5, 2014, 05:24:39 PM WebProcess_2014-12-05-172439_MacBook-Pro...crash
      Dec 5, 2014, 10:45:59 AM Kernel_2014-12-05-104559_MacBook-Pro-de-...panic [Details]
      Dec 5, 2014, 10:18:14 AM Kernel_2014-12-05-101814_MacBook-Pro-de-...panic [Details]
      Dec 3, 2014, 08:28:35 PM locationd_2014-12-03-202835_localhost.crash
      Dec 5, 2014, 10:25:44 AM Kernel_2014-12-05-102544_MacBook-Pro-de-...panic [Details]

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • Hi there. Can anyone help with restoring my Mac to it's origin white, it has got very grubby. Thanking you.

    Hi there. Can anyone help with restoring my Mac to it's origin white, it has got very grubby. Thanking you.

    From here:
    http://forums.macrumors.com/archive/index.php/t-863188.html
    "You can use the Magic Eraser to clean the white plastic."
    "thanks for the Magic Eraser tip, I willtry that..so far I've been using disinfectant wipes, which work pretty well, too because of the alcohol in them"

Maybe you are looking for

  • Creative mediasource and Burning Di

    I got Creative Mediasource with my Creative Nomad MuVo2 Player. I have "auto upgraded" the software and the plugins through the site. There doesn't seem to be any burn option, although the help file tells how to do it. I know that there are better bu

  • Nokia N8 Can not see who's calling / display won't...

    Hi, I have the problem that when I get a call my phone will ring but there is nothing seen onto the display. When I use the unlock button on the side of the phone it unlocks and then I can see who's calling and take the call. When I want to hang-up,

  • SQL Command Object

    We are in the process of migrating reports from SSRS to Crystal 2011. In SSRS we are able to paste complex SQL into reports as the data source for the report (e.g. multiple CTE's, correlated subqueries, temp tables, etc). It appears that we can accom

  • TCS processing

    Hi we have done all configuration as per help givn by SAP for TCS calculation for scrap but when i am process in sale order and Invoice system is calculation TCS but is is not reflcting on screen. and while posting invoice giving ERROR that as follow

  • Set different color for one JTree node

    hello, I managed to find how to set a color for Jtree nodes but the problem is that with my method all the nodes will b the same color whereas i'm looking to have nodes of different color depending on the situation. the method for setting all Jtree n