fastexcel
Javet
Our great sponsors
fastexcel | Javet | |
---|---|---|
5 | 3 | |
603 | 581 | |
2.8% | - | |
8.8 | 6.6 | |
4 days ago | 6 days ago | |
Java | Java | |
Apache 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastexcel
-
FileOutputStream v. ByteArrayOutputStream: is there a noticeable difference in memory usage?
I'm using fastexcel to create the excel file, and I'm flushing it to the OutputStream after every row is written. Right now, I am using a FileOutputStream to write to disk. When the excel file is done being generated, I read it back in using InputStreamResource and stream the response. My thought process is that a ByteArrayOutputStream keeps everything in memory even if I'm flushing the excel file after every row, so I used the FileOutputStream. Does my logic track here? Or am I unnecessarily slowing things down with expensive filesystem IO?
-
Favorite hidden gem library?
fastexcel the fastest xlsx generation library
-
how to create an excel file from a form in an android app
I would use some library like for example this one. So you collect all the data you want to store in a list or map, and iterate over it, then add them to the excel like shown in the documentation of the library (should always be the same way more or less for any library)
-
Any good alternatives to Apache POI for creating Excel spreadsheets?
I've only had memory problems with apache poi. I only use https://github.com/dhatim/fastexcel now
Javet
-
Favorite hidden gem library?
Javet is one of a kind. No other library like it out there today. Not widely known yet as its kinda new.
-
What are your thoughts on Java Isolates on GraalVM?
If you want to embed a V8 instance in Java, check out Javet, it uses less memory and will work in native graalvm images. Also allows you to embed a NodeJS instance where you can use NodeJS specific libraries.
-
A curated list of awesome frameworks, libraries and software for the Java programming language
They should add a "scripting" section. There's cool new projects being started in this area like Javet which allows you to embed Node.js and a standalone V8 too. Nashorn and Rhino could be added to that list too despite not being so new.
What are some alternatives?
Apache POI - Mirror of Apache POI
initializr - A quickstart generator for Spring projects
easyexcel - 快速、简洁、解决大文件内存溢出的java处理Excel工具
graalvm-ce-dev-builds - GraalVM Dev Build Downloads
Aspose.Cells-for-Java - Aspose.Cells for Java examples, plugins and showcases
opengrok - OpenGrok is a fast and usable source code search and cross reference engine, written in Java
spreadsheet - Spreadsheet Builder
Kalium - Java binding to the Networking and Cryptography (NaCl) library with the awesomeness of libsodium
zerocell - Simple, efficient Excel to POJO library for Java
JADE - a pug implementation written in Java (formerly known as jade)
docx4j - JAXB-based Java library for Word docx, Powerpoint pptx, and Excel xlsx files
PacketProxy - A local proxy written in Java