EJB design: Where is java Pre processor :-(

  1. Where is java Pre processor :-( (2 messages)

    Why don't we have a preprocessor (Directives) in java just like C language?
    why do we have it in c language?
  2. Where is java Pre processor :-([ Go to top ]

    Hi Simar-

    You can use the C preprocessor with java; you can use the preprocessor with any type of file, really. I work with someone who swares by this, but I think he's sort of nuts.

  3. Is now possible with annotations[ Go to top ]

    Ironically Suns own code base needs pre-processing in a few places. With the advent of the annotation processing tool you can now pre-process files before handing to the java compiler :*)