jndi的困惑
那在代码里用一个hashmap的方式导入到InitialContext()里跟直接用代码写,感觉区别不大啊,只是使用了某个设计模式吧
我的jndi.properties要写多个配置信息该怎么写呢
比如java.naming.provider.url 我有多个不同意义的url该怎么来写
至于server什么的,不需要吧,只要写个处理该文件的类就可以了,类似proxool读配置文件一样
The OO design is not invented with the clap of fingers.
it can be traced to 1980 already, at least the MVC is not new stuff.
when we are using C to simulate the today's class and we write a framework using pointer to function.
I can say the lazy european and americans cannot never invent sth with a big jump.
but our education doesnt emphasis that. they have never had a systematic way to coach student unluckily plus the materials from Qinhua which is really the worst material in the world.
They explain the computer science but why do they use mathematics to explain that. if people are still confusing about math, then how can they understand the real beef in books.
and we were short of hands on coding experiences to link what the professor blabla in courses.
This is the lethal problem for most of juniors in china.
sigh, we have talent but most of the people are off the route.