m*t
3 楼
I think it's a good thing, but overused and abused to death. A lot of
people seem to keep forgetting "configuration != metadata".
people seem to keep forgetting "configuration != metadata".
L*r
5 楼
Forget to mention, my component is implemented in C#. attribute is the term
in c#.
annotation(metadata) will change the way you program.
for example, in order to specify your java class serializable. you can do it
with annotation.
@serializable
public class xxx
in c#.
annotation(metadata) will change the way you program.
for example, in order to specify your java class serializable. you can do it
with annotation.
@serializable
public class xxx
w*r
7 楼
唉,偶还是喜欢POJO的东西,至少看起来有头绪,这些annotation应该是了解了是如何转
变成POJO之后的一个shortcut,可以用来减少coding的量,但是这种技术的产生就决定了
新学的人就不再关心背后的实际意义,拿来用而已,等于多学几个语法规则.很明显的例
子就是jsp中用一堆奇怪的tag/tag library, 用scriptlet..而真正jsp和servlet之间
一致性就不再关心了,这些个号称会写jsp/servlet的programmer很多都不知两者其实是
一个东西,用中文说就是知其然而不知其所以然了
【在 t****r 的大作中提到】
: experienced using it with testNG and AspectJ. so far so good as long as no
: abusing. hehe.
变成POJO之后的一个shortcut,可以用来减少coding的量,但是这种技术的产生就决定了
新学的人就不再关心背后的实际意义,拿来用而已,等于多学几个语法规则.很明显的例
子就是jsp中用一堆奇怪的tag/tag library, 用scriptlet..而真正jsp和servlet之间
一致性就不再关心了,这些个号称会写jsp/servlet的programmer很多都不知两者其实是
一个东西,用中文说就是知其然而不知其所以然了
【在 t****r 的大作中提到】
: experienced using it with testNG and AspectJ. so far so good as long as no
: abusing. hehe.
p*p
8 楼
各位老大,我现在要implement一个API,是带这个annotation的,请问
怎么弄,和以前的API有什么区别。
我觉得这个东西把JAVA程序搞地跟shell一样乱七八糟的,不堪入目
怎么弄,和以前的API有什么区别。
我觉得这个东西把JAVA程序搞地跟shell一样乱七八糟的,不堪入目
相关阅读
Servlet开发初步 [fwd]Answer 2 to "Is this a Bug or not? "Re: real time control in javajava有用论BBS CLIENT 不需要中文系统 v0.0.0.0.00001Re: weblogic questionRe: Java能做出象netmeeting一样可传影象的程序吗Re: 请教一个问题—servletHelp: 有大虾在 Applet 中用过 UDP socket 麽?一个Java程序员的话(4)--续第一章Re: java class decompileThe Problems With JSPRe: questionJava basic concept(2)Java will store your chinese into Unicodejava StringjBuiler 4白皮书(来自inprise网站)Java资源to Water, other future programmersMore information about Java Plug-in SPECIFICATION