Spring Framework 5 will do everything it can to allow applications to be based on JDK 9 modules. Spring Boot team: Depending on its final shape, JDK 9's module system may turn into a foundation for modular Spring applications. InfoQ: Do you see any features in Java 9 or Java EE 8 that might help Spring Boot? The work that the Spring Cloud team have done to integrate Netflix OSS with Pivotal Cloud Foundry is also amazing. įor most people, though, we honestly think that Cloud Foundry is hard to beat, cf push -p foo.jar foo and you're done. If you're trying to assemble your own orchestration and platform (don't!), then you'll find we have guides on using Docker and Spring Boot together on. We even document the process in the Spring Boot reference guide for a few large cloud platforms. Heroku, OpenShift, Google Cloud, Oracle Cloud, Azure, etc., have all done public blogs or talks on how to run Spring Boot (and, often, Spring Cloud) applications on their platforms. Spring Boot team: Spring Boot runs well on pretty much everything. InfoQ: What's the best way to orchestrate (deploy, monitor, replace) Spring Boot microservices in the cloud (e.g. Any sample applications that readers could share to demonstrate extreme memory usage will helpful here. Some refinement of the cache logic in the Spring Framework did happen recently, and there are plans to revisit this again. The Freemarker sample application in the Spring Boot repo, for example, runs quite happily on Java 8 with -Xmx32MB (although it does use use a fair chunk of non-heap memory). We've had a few false reports raised in the past driven by the fact that internal caches are consuming memory and haven't yet been GC'd. InfoQ: Are there any plans to reduce the memory footprint required by Spring Boot apps? Spring Boot team: Reported memory usage for Spring applications can sometimes be a little misleading. We'll release version 2.0 when Spring 5.0 is out and Java 8 is a minimum requirement. We wanted to continue that tradition and also send a signal that this should be a fairly painless upgrade for most people. InfoQ: This seems like a large release, why not name it 2.0? Spring Boot team: The Spring Framework has always had fairly conservative version numbering, after 10+ years it's only at version 4. The ability to just create a unix service by typing ln -s is pretty nice. color banners! Probably one of the more unique features, and something we haven't seen elsewhere is fully executable JARs. InfoQ: What are your favorite features in Spring Boot 1.3? Spring Boot team: We've joked a bit internally that we've spent eight months working on features such as devtools, caching, metrics and more auto-configurations, but the thing that people like the most. You're almost getting to dynamic language levels of productivity, but with the type safety, concurrency, stability and the performance of the JVM. By removing the need for all that explicit configuration, it becomes so much easier to show the real power of Spring Data repositories. Our favorite example of this is probably Spring Data + Hibernate + In-Memory DB. By making it quick and easy to kick the tires, we can highlight features that you might have otherwise overlooked. The Spring ecosystem can be quite large, and a lot of people might not have invested the time to look into all the different projects available. Compared with Java 7, coding in Java 8 is a lot of fun! The second is the great foundation that already existed for Spring Boot to build on. The first is that Java 8 really helped trigger a mini-resurgence with Java in general. Have you been happy with the Java community's response to it? Spring Boot team: Very much! We think that there are a couple of factors that helped boost Spring Boot's popularity. InfoQ: Spring Boot seems like a popular project. Dave Syer, Phillip Webb, Stéphane Nicoll, Andy Wilkinson, and Josh Long for a Q&A session about this release. InfoQ sat down with top Spring Boot team contributors Dr. If you'd like to get creative with this feature, Craig Burke created an image to ascii-art converter for Spring Boot. Or the one from the latest release of JHipster: This means you can show art in your console logs when your app starts. One nifty new feature is that your banner.txt files can now include ANSI color codes. The release has extensive release notes detailing all of the changes. Spring custodian Pivotal has released Spring Boot 1.3, which adds hot reload support of Java classes/Spring configuration (using a new spring-boot-devtools module), cache auto-configuration (for EhCache, Hazelcast, Infinispan, JCache, Redis and Guava), and fully executable archives for Linux/Unix.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |