×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

@

Is J2EE OO or NOT?

It depends on from what level you are looking at the program - when you are too much into details, you may be lost in Hibernation, Spring, MVC framework. But....
when you look at it from 500 metres in the sky, your view will be clear and you can see what presents the Object - so instead like someone so confused about "...Today's J2EE applications might look a lot like yesterday's procedural COBOL applications that were so derided by upstart Java developers 10 years ago...", look at those business compoments - so much like our real life business transcation model, process and components - how can one say it is not OO?.... Then look at the SOA, someone may not like it, but it tuely represents the OO concept at heart - why? It is just like entities in the real world that provide the services. What is OO ? It is OBJECT Oriented, What is an Obejct? It is Everything in the world!
Report

Replies, comments and Discussions:

  • 工作学习 / 专业知识杂谈 / Is J2EE OO or NOT?
    It depends on from what level you are looking at the program - when you are too much into details, you may be lost in Hibernation, Spring, MVC framework. But....
    when you look at it from 500 metres in the sky, your view will be clear and you can see what presents the Object - so instead like someone so confused about "...Today's J2EE applications might look a lot like yesterday's procedural COBOL applications that were so derided by upstart Java developers 10 years ago...", look at those business compoments - so much like our real life business transcation model, process and components - how can one say it is not OO?.... Then look at the SOA, someone may not like it, but it tuely represents the OO concept at heart - why? It is just like entities in the real world that provide the services. What is OO ? It is OBJECT Oriented, What is an Obejct? It is Everything in the world!
    • agreed
    • J2EE是一组技术的集合,这组技术里面有OO的有不OO的,也有假OO的。不同人也有不同的用法,有的人用得很OO,有的人用得很不OO。如果你很care OO in J2EE,不妨读一读J2EE without EJB,那哥们儿很强调OO
      Object是everything in the world吗?我觉得这个论断更多地是一个理想,而不是现实。OO是我们作为程序员观察世界的一个方法,或者说一个角度,而Object是这种观察方式下现实世界在程序中的投影,远远不是事物本身。Java保留了primative,否则它就是纯OOP的语言,为何他们要保留这种不完美?这本身就是一个提示:这个世界并不总是适用OO的。
      • em, like AOP is not easy put in OO