简体   繁体   中英

Getting started with guava

How can I use Guava for my web application? I want to use it eg for testing instead of JUnit. Is that possible? What other uses can I have from Guava if I'm building webapps with JSP and servlets?

Please read https://github.com/google/guava/wiki

Guava is not a replacement of JUnit.

I was not aware that Guava was a unit testing framework. Therefore this part of the question does not make sense to me.

Guava is a general purpose Java helper library. You will find all sorts of nice things in there, but nothing is specific to JSPs and servlets. It's like asking: What uses has Apache Commons for webapps? What uses has the Java collection framework for JSPs?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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