Java development standards and tools (compared with c#)

I don't know anything about the Java platform. I want to know what tools (and methods) can be used to help develop maintainable code written in Java

I know you can use:

>Agile methodology in any environment > JUnit / jmock for unit test code (similar to NUnit / MOQ in the. Net world) > checkstyle coding standard - is it similar to stylecop or FxCop? > I think you can also write layered applications in Java (such as assemblies of different layers in. Net) > are there any automatic testing OSS / licensing tools worth mentioning > are there any code generators that are very popular in the Java world

Java developers / teams can also use me in Net world? Would you recommend other tools and methods in the Java world?

Solution

There are many frameworks in Java For example, you don't have to use JUnit, you can use TestNG to support basically the same number of tools There are also several simulation frameworks

In terms of coding standards, IDE has built-in IDE, and several others are available (I am most familiar with IDE, so I don't know the name at hand)

If you want free, you can use eclipse as IDE, NetBeans, IntelliJ idea, etc Then there are some ides from large vendors designed to support their specific application servers

In terms of building "assemblies" (cans, wars and ears in the Java World), the IDE has some built-in tools for single person projects, while ant or Maven is a complete building tool

There are many options for automated testing tools If you mean continuous integration, CruiseControl is free and teamcity can use it for free

As far as code generators are concerned, generally speaking, the Java world tries to deviate from them rather than comments, but the name comes to mind is XDoclet In Gui building, of course, there are a bunch of code generators strictly used to build GUI

It really barely touched the surface For example, application servers (JBoss, Oracle (they now own two purchased by sun) and IBM) are an important decision point in many Java projects (it depends on what kind of project)

All the categories discussed are not exhaustive, but enough to let you know what to consider There are more in each category

The advantage of Java is that there are many choices The downside of Java is that there are many choices

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>