简体   繁体   English

Java EE编程技巧

[英]Java EE Programming Skills

I have many years of experience in Java including Swing, Servlet and JDBC, but have never programmed for a Java EE server. 我有多年的Java经验,包括Swing,Servlet和JDBC,但从未编写过Java EE服务器。

Many job advertisements from large companies are specifically asking for Java EE experience. 许多大公司的招聘广告都特别要求Java EE经验。 Are there specific skills or development environments that I should learn to qualify for these kinds of jobs? 是否有特定的技能或发展环境,我应该学习哪些资格从事这类工作?

Download JBoss and get to work on the sample applications in the documentation. 下载JBoss并开始处理文档中的示例应用程序。 If you've done java, you're 95% there. 如果你已经完成了java,你就有95%。 Java EE adds the container and naming aspect to the java you already know and love. Java EE将容器和命名方面添加到您已经熟悉和喜爱的Java中。 With the advent of EJB3, beans got a lot simpler as you only need a couple of annotations to get rolling with EJB. 随着EJB3的出现,bean变得更加简单,因为您只需要几个注释就可以使用EJB。 Java EE can be a bit daunting with the acronym soup of technologies available, but concentrate on the basics: EJB3, JNDI, JMS, data access (like Hibernate/JDO), and container basics. Java EE对于可用技术的首字母缩略词可能有点令人生畏,但专注于基础知识:EJB3,JNDI,JMS,数据访问(如Hibernate / JDO)和容器基础知识。

"Are there specific skills or development environments that I should learn to qualify for these kinds of jobs?" “我是否应该学习特定的技能或发展环境以获得这类工作的资格?”

If I were to interview someone for a typical Java EE shop, I would like to know how well you know the following 如果我要为一个典型的Java EE商店采访某人,我想知道您对以下内容的了解程度
1) servlets 1)servlet
2) EJB (maybe) 2)EJB(可能)
3) JSP 3)JSP
4) ant 4)蚂蚁
5) junit 5)junit
6) subversion or other VCS 6)颠覆或其他VCS
7) http and html 7)http和html
8) javascript 8)javascript
9) struts 9)支柱
10) hibernate 10)休眠
11) spring(maybe) 11)春天(也许)

I'm not trying to scare you BUT 1/2 of what you need to know you can get by the "PROFESSIONAL J2EE" from WROX press. 我不是想吓唬你,而是你需要知道的一半你可以通过WROX出版社的“PROFESSIONAL J2EE”得到。 Rest of the skill, you should be able to get by with a spring book(most spring books also talk about stuts and hibernate) -- for example "The Spring Primer" -- http://www.sourcebeat.com/books/springlive.html . 其余的技巧,你应该能够通过一本春季书(大多数春季书籍也谈论stuts和hibernate) - 例如“The Spring Primer” - http://www.sourcebeat.com/books/ springlive.html

Good Luck 祝好运

Those jobs are most likely asking that you have experience with one or more of the major app server vendors, ie WebLogic, WebSphere, or JBoss. 这些工作很可能要求您具有一个或多个主要应用服务器供应商的经验,即WebLogic,WebSphere或JBoss。 It's a bit different from what you're used to with servlets & JDBC, but it's still just Java. 它与你习惯使用servlet和JDBC有点不同,但它仍然只是Java。 Typically you have to deal with things like JNDI lookups, dependency injection, messaging queues, maintaining application state between transactions, object/relational mapping, etc. 通常,您必须处理诸如JNDI查找,依赖注入,消息传递队列,维护事务之间的应用程序状态,对象/关系映射等事务。

I have found that for most Java EE projects, it's more about knowing how components and systems are configured and how they work together than it is about any specific programming skill. 我发现对于大多数Java EE项目来说,更多的是了解组件和系统的配置方式以及它们如何协同工作,而不是任何特定的编程技能。 And you also spend a lot more time waiting for the server to start up ;); 而你也花了很多时间等待服务器启动;);

get the book "Professional J2EE" from WROX press -- it is 6-7 years old BUT the content is pretty good. 从WROX出版社获得“Professional J2EE”这本书 - 它已经有6到7年的历史了但内容非常好。 You should be able to get by just fine with that book and a 3.x version of JBoss or a 4.x version of JBoss and eclipse. 你应该可以通过那本书以及3.x版本的JBoss或4.x版本的JBoss和eclipse来获得。

I think you're in good shape. 我觉得你身体状况良好。 Servlets are part of Java EE so you already have one skill. Servlet是Java EE的一部分,因此您已拥有一项技能。 JDBC are used as well pretty much the same, but most of the time under some other frameworks. JDBC的使用方式几乎相同,但大部分时间都在其他框架下使用。

So I would say you already have ( some ) Java EE experience. 所以我会说你已经拥有(某些)Java EE经验。 Read about EJBs, Transactions, and I think you're ready for an interview. 阅读有关EJB,交易的内容,我认为您已准备好接受采访。

A lot of times the only way to get that experience is getting hands on. 很多时候获得这种体验的唯一方法就是亲身体验。 If you convince your interviewer that the skill you have already are enough as to get the position, you'll get the rest by experience. 如果你说服你的面试官你已经掌握了足够的技能来获得这个职位,那么你将通过经验得到其余的。

Go on! 继续! You're ready. 你准备好了。 ( if not at least you'll learn from the interview :P ) (如果不是,至少你会从面试中学到:P)

Whenever you do start interviewing, Ken, be aware that the nutty Java marketing machine seems to be renaming J2EE to Java EE. 每当你开始采访时,肯,请注意坚固的Java营销机器似乎将J2EE重命名为Java EE。 You could conceivably run across an HR department in the near future that has never heard of J2EE, but desperately needs Java EE experience. 你可以想象,在不久的将来,你从未听过J2EE的人力资源部门,但迫切需要Java EE经验。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM