Microsoft Goes All Out On Java()

  本篇文章为你整理了Microsoft Goes All Out On Java()的详细内容,包含有 Microsoft Goes All Out On Java,希望能帮助你了解 Microsoft Goes All Out On Java。

  Microsoft has released an update to VSCode that has support for Spring-based applications. At the same time theres a new Microsoft website, a dedicatedto Java.

  Its not just .NET any more, but the JVM too. Back in 2021, in"Microsoft Jumps on the OpenJDK Bandwagon"we witnessed the beginnings of Microsofts love affair with Java, when Microsoft released its own build of Javas OpenJDK. Why would Microsoft do that that when there are so many choices already?

  One reason is to establish a foothold on Javas market share.The other is that internally it uses Java a lot in its own infrastructure, especially its Azure ecosystem (Azure Spring Cloud, Azure App Service, Azure Functions, Azure Kubernetes), and for that it needs to have its own uniform and universal build applied to them.

  Of course, theres also the promotional incentive of pushing Azure to Javas developers, with Microsoft trying to lure them in, even helping them to migrate their applications through offering free courses, as described in"Learn How To Do Java On Azure", which shows how to build, migrate and scale Java applications on Azure.

  It comes as no surprise then that Microsoft is also pushing its tools in the Java direction, VSCode in this instance, which has been upgraded withSpring enhancements:

  Spring bean properties when live process is connected
The IDE helps in listing all the beans loaded when the Spring app is itself loaded.To get at the same result without the support of the IDE you would had to write code that would get the ApplicationContext and call .getBeanDefinitionNames(),
like :

  System.out.println(Arrays.asList(applicationContext.
getBeanDefinitionNames()));

  With that new addition,VScode goes one step further in also revealing the beans property information,i.e whether they are singletons, prototypes and so onwhile also marking your own beans with defined to keep things organized.

  A better getting-started experience for projects initialized with Spring Initializrhas been added by having the IDE automatically loadInitializrs HELP.md which contains useful information but is largely ignored by developers unbeknownst of its existence.

  Maven and Gradle improvementsin Java Project Explorer
A bit like Intellij which keeps Mavens goals and profiles at a dedicated panel at the top right corner of the IDE,Microsoft enhances VSCode by making it easier to access the most frequent build actions like accessing a POM or callingMavens goals.

  And finally somedebugging enhancementscoming from the Community:

  Improved support for method breakpoints (https://github.com/microsoft/java-debug/pull/426)

  Showing target VM exceptions as result in evaluate requests (https://github.com/microsoft/java-debug/pull/428)

  But thats not all - together with VSCodes upgrading a newwebsiteon everything about Java was also launched where youll find resources, tools, tutorials, documentation, videos and code samples to get your started with Javain general, but also specifically in learning how to deploy your Java applications on the Cloud, well Azure that is.

  But Microsoft has not confined Java and Spring support to VSCode. It has also pumped up support for Intellij and Azure, which proves the point that given the Microservices and Cloud frenzy the goal is to firmly establish Azure as THE platform to go to when developing Java applications. So we have the release of "Azure Toolkit for IntelliJ", a plugin that provides templates and functionality with which you easily create, develop, test, and deploy Azure applications,and"Integrating Azure and Spring with Spring Cloud Azure"an open-source project that provides seamless Spring integration with Azure services.

  So what is the verdict on VSCode vs IntelliJ for developing Java/Spring applications?

  While VScode has made great improvements, it hasnt yet reached the level of quality that IntelliJgives to Java, especially in the code refactoring business. Still if you also program in other programming languages besides Java, then VSCode might be the most fitting option.

  

  More Information

  Java on Visual Studio Code Update – August 2022

  Java at Microsoft

  
Related Articles

  Microsoft Jumps on the OpenJDK Bandwagon

  Learn How To Do Java On Azure

  Integrate Azure and Spring with Spring Cloud Azure

  Azure Toolkit for IntelliJ

  To be informed about new articles on IProgrammer,sign up for ourweekly newsletter,subscribe to theRSSfeedandfollow us on Twitter,Facebook orLinkedin.

  
JetBrains Qodana Adds Taint Analysis For PHP
07/03/2023
Qodana Code Quality platform detects and flags programming errors such as bugs, security vulnerabilities, anomalous code, dead code and the like. Now it adds Taint analysis support too.

  
 

   + Full Story

   GitHub Announces CodeQL Improvements
28/02/2023
GitHub has announced improvements to CodeQL, its semantic analysis engine. The improvements include support for new languages and the ability to perform deeper analyses of applications.

  
 

   + Full StoryMore NewsIBM Contributes Two AI Libraries To Linux FoundationAI-Powered Bing Provides Boost For EdgeGoogle Introduces Service Weaver FrameworkZoox Robotaxi - Look No Steering Wheel... EnterpriseDB Adds Transparent Data EncryptionZenhub Adds Issue ManagementManifest 3 - Firefoxs Big Chance?Google Adds Maps Platform To Dev LibraryVSCode Can Do More Than You ImagineChat GPT 4 - Still Not Telling The Whole TruthRapid Launches API Hub For BusinessSurveying Software Supply Chain SecurityJakarta vs Spring - The War Goes On

  

  
 

  

  Comments

  
Make a Comment or View Existing Comments Using Disqus
 

  or email your comment to: comments@i-programmer.info

  以上就是Microsoft Goes All Out On Java()的详细内容,想要了解更多 Microsoft Goes All Out On Java的内容,请持续关注盛行IT软件开发工作室。

郑重声明:本文由网友发布,不代表盛行IT的观点,版权归原作者所有,仅为传播更多信息之目的,如有侵权请联系,我们将第一时间修改或删除,多谢。

留言与评论(共有 条评论)
   
验证码: