什么是最常用的Java框架?

时间:2020-12-02 17:01:11

for me I will answer this question based on my experience.

对我来说,我会根据我的经验回答这个问题。

so if I'm gonna start new project I will use the following technologies:

所以,如果我要开始新项目,我会使用以下技术:

  1. AndroMDA as MDA framework.
  2. AndroMDA作为MDA框架。

  3. Spring (DI, Interceptors, Quartz, ACEGI, ... etc).
  4. 春天(DI,拦截器,石英,ACEGI,......等)。

  5. Hibernate.
  6. JSF.

off course you might need to play with some helper frameworks/libraries such as:

当然,您可能需要使用一些辅助框架/库,例如:

  1. Velocity.
  2. CAS; if you need SSO.
  3. CAS;如果你需要SSO。

  4. JXLs; if you need small and easy library for generating Excel files using XLS templates.
  5. JXLS;如果您需要使用XLS模板生成Excel文件的小而简单的库。

  6. Drools; which is Artificial Intelligence a Rule Engine that uses the Rule Based approached to implement an Expert System and is more correctly classified as a Production Rule System.
  7. Drools的;这是人工智能规则引擎,它使用基于规则的方法来实现专家系统,并且更准确地归类为生产规则系统。

in terms of testing I will consider the following frameworks:

在测试方面,我将考虑以下框架:

  1. TestNG; you may want to use JUnit in the part of Unit Testing but TestNG is more than a unite testing framework;
  2. TestNG的;您可能希望在单元测试部分使用JUnit,但TestNG不仅仅是一个统一的测试框架;

  3. WATIR or SELENIUM as web testing;
  4. WATIR或SELENIUM作为网络测试;

Can anybody else suggest other options?

其他人可以推荐其他选择吗?

7 个解决方案

#1


Here are just a few answers to your question that can be found on *.

以下是您可以在*上找到的问题的几个答案。

You can do this search yourself via Google

您可以通过Google自行搜索

#2


I can't be sure, what I am gonna use in the coming new project. Unless otherwise, I am planning to do RDD, also here and here.

我无法确定,我将在即将到来的新项目中使用什么。除非另有说明,我打算在这里和这里做RDD。

#3


thanks Eddie for Googling hint.

感谢Eddie的Google搜索提示。

When I asked this question I was biased to Web Application Development. Now I found this can't be answered in single question. So I guess its better to have one page categorizing the Java Frameworks (DI, Web, ORM) with links in each category pointing to other questions in *.

当我问这个问题时,我偏向于Web应用程序开发。现在我发现这个问题无法回答。所以我想最好让一个页面对Java框架(DI,Web,ORM)进行分类,每个类别中的链接指向*中的其他问题。

however this may end with something similar to java-source.net but categorized. so I will use your hint Eddie in my answer below:

但是这可能会以类似于java-source.net的方式结束,但会被分类。所以我将在下面的答案中使用你的暗示Eddie:

ORM (Object Relational Mapping) frameworks:

ORM(对象关系映射)框架:

DI / IOC frameworks:

DI / IOC框架:

Web frameworks:

Report engines:

Testing Frameworks:

GUI libraries:

Code coverage tools:

代码覆盖工具:

Build tools:

Static analysis tools:

静态分析工具:

if I missed something please let me know to update this answer. (thanks all)

如果我错过了什么,请让我知道更新这个答案。 (谢谢大家)

#4


Do not forget some static analysis tools, like for instance Findbugs.

不要忘记一些静态分析工具,例如Findbugs。

#5


Frameworks are means to an end. What is the project that you are trying to accomplish? Tons of people use Spring, but for some people some obscure open-source API may save years of coding.

框架是达到目的的手段。你想要完成的项目是什么?很多人使用Spring,但对于某些人来说,一些不起眼的开源API可能会节省多年的编码。

#6


Before you grab the latest and greatest or not - perhaps you should note what you actually need and then find the best match ratehr than just grabbing jar files.

在你抓住最新的和最好的之前 - 也许你应该注意你真正需要的东西,然后找到最好的匹配率而不仅仅是抓住jar文件。

#7


I would also use these tools to build the project and follow the rules.

我也会使用这些工具来构建项目并遵循规则。

Maven build system

Maven构建系统

Nexus repository server

Nexus存储库服务器

Hudson CI server

Hudson CI服务器

PMD, FindBugs

Checkstyle

Jalopy

#1


Here are just a few answers to your question that can be found on *.

以下是您可以在*上找到的问题的几个答案。

You can do this search yourself via Google

您可以通过Google自行搜索

#2


I can't be sure, what I am gonna use in the coming new project. Unless otherwise, I am planning to do RDD, also here and here.

我无法确定,我将在即将到来的新项目中使用什么。除非另有说明,我打算在这里和这里做RDD。

#3


thanks Eddie for Googling hint.

感谢Eddie的Google搜索提示。

When I asked this question I was biased to Web Application Development. Now I found this can't be answered in single question. So I guess its better to have one page categorizing the Java Frameworks (DI, Web, ORM) with links in each category pointing to other questions in *.

当我问这个问题时,我偏向于Web应用程序开发。现在我发现这个问题无法回答。所以我想最好让一个页面对Java框架(DI,Web,ORM)进行分类,每个类别中的链接指向*中的其他问题。

however this may end with something similar to java-source.net but categorized. so I will use your hint Eddie in my answer below:

但是这可能会以类似于java-source.net的方式结束,但会被分类。所以我将在下面的答案中使用你的暗示Eddie:

ORM (Object Relational Mapping) frameworks:

ORM(对象关系映射)框架:

DI / IOC frameworks:

DI / IOC框架:

Web frameworks:

Report engines:

Testing Frameworks:

GUI libraries:

Code coverage tools:

代码覆盖工具:

Build tools:

Static analysis tools:

静态分析工具:

if I missed something please let me know to update this answer. (thanks all)

如果我错过了什么,请让我知道更新这个答案。 (谢谢大家)

#4


Do not forget some static analysis tools, like for instance Findbugs.

不要忘记一些静态分析工具,例如Findbugs。

#5


Frameworks are means to an end. What is the project that you are trying to accomplish? Tons of people use Spring, but for some people some obscure open-source API may save years of coding.

框架是达到目的的手段。你想要完成的项目是什么?很多人使用Spring,但对于某些人来说,一些不起眼的开源API可能会节省多年的编码。

#6


Before you grab the latest and greatest or not - perhaps you should note what you actually need and then find the best match ratehr than just grabbing jar files.

在你抓住最新的和最好的之前 - 也许你应该注意你真正需要的东西,然后找到最好的匹配率而不仅仅是抓住jar文件。

#7


I would also use these tools to build the project and follow the rules.

我也会使用这些工具来构建项目并遵循规则。

Maven build system

Maven构建系统

Nexus repository server

Nexus存储库服务器

Hudson CI server

Hudson CI服务器

PMD, FindBugs

Checkstyle

Jalopy