Is Java becoming more like c#??


Thru Here. Almost feels like home.

Metadata


This language feature lets you avoid writing boilerplate code under many circumstances by enabling tools to generate it from annotations in the source code. This leads to a “declarative” programming style where the programmer says what should be done and tools emit the code to do it. Also it eliminates the need for maintaining “side files” that must be kept up to date with changes in source files. Instead the information can be maintained in the source file. Refer to JSR 175


Comments (2)

  1. Asher Foa says:

    Not as much as C# was created with a resemblance (and that’s an understatement) to Java….

  2. Vyas says:

    It’s not only Metadata….

    1. boxing / unboxing (called autoboxing / unboxing!)

    2. A foreach clone

    3. Disconnected ResultSets

    4. Management APIs

    5. Profiling

    6. Debug support

    For full info:

    http://java.sun.com/developer/technicalArticles/releases/j2se15/