What function do these Java annotations serve?

后端 未结 3 1750
臣服心动
臣服心动 2021-01-05 12:45

I\'m still not clear on the purpose of annotations in Java. Initially I thought they just served as documentation. But looking at this documentation from Google App Engine D

3条回答
  •  抹茶落季
    2021-01-05 12:52

    I think that these come from the Java Data Objects API. It's an API that overlaps to a degree with what EJB3 is supposed to accomplish. Same concepts, different syntax and tools.

    If you are not familiar with annotations in general, check the Java tutorial.

提交回复
热议问题