[V30] windows11 book, record deserialization, instant repository, Java20 release, React versus Angular,  navigation shortcuts, Scrum empiricism

[V30] windows11 book, record deserialization, instant repository, Java20 release, React versus Angular, navigation shortcuts, Scrum empiricism

?? FREE BOOK: Windows 11 Guide

"Teach Yourself VISUALLY Windows 11 ($19.00 Value) FREE for a Limited Time --Before end of March--" ??

Everything ?? you need to know about Windows 11 in a single, visual book ??

https://lnkd.in/equVpiit

Teach Yourself VISUALLY Windows 11?collects all the resources you need to master the day-to-day use of Microsoft’s new operating system and delivers them in a single resource.

Fully illustrated ??, step-by-step instructions are combined with crystal-clear screenshots to walk you through the basic and advanced functions of Windows 11.

Teach Yourself VISUALLY Windows 11?offers the best visual learning ?? ?? techniques with comprehensive source material about the interface and substance of Windows 11, as well as:

1?? Stepwise guidance on working with files, digital pictures, and media

2?? Instructions for customizing Windows 11 and sharing your computer with family members

3?? Tutorials on installing and repairing applications, system maintenance, and computer security

The fastest ??, easiest way for visual learners to get a grip on Windows 11,?Teach Yourself VISUALLY Windows 11?is the best way to go from newbie to expert in no time at all

?? Download :?https://lnkd.in/equVpiit

#free?#windows11?#guide?#book

?



???JAVA CERTIFICATION QUESTION: record deserialization

Imagine you are given the following enum and record:

enum Gender {
    MALE( "M" ),
    FEMALE( "F" ),
    OTHER;

    Gender() {
        System.out.print( "Gender " );
    }

    Gender( String s ) {
        System.out.print( "GenderS " );
    }
}
        

and

record Person(int age, String name, Gender g) implements Serializable {

    Person() {
        this( 0, "", Gender.OTHER );
        System.out.print( "Person " );
    }

    Person {
        System.out.print( "PersonC " );
    }

}        

Previously an instance of Person was constructed like the following and serialized to a file:

var v = new Person(60, "John Doe", Gender.MALE);        

What might be printed to the console when a program deserializes the contents of the file mentioned above? Choose two.

  • Gender PersonC Person
  • Gender PersonC
  • PersonC Person
  • PersonC
  • Gender Gender Gender Person PersonC
  • GenderS GenderS Gender Person PersonC
  • GenderS GenderS Gender PersonC

#java?#certificationquestion?#ocp?

Answer:

This question investigates the mechanisms of deserialization for both enum types and records.

When a record is deserialized, each of the attributes—in this case, the age, name, and gender attributes—must be deserialized to their respective objects or values first.

These attributes are then passed to the canonical constructor of the record.?

No output is printed in handling the int age and the String name attributes, but it’s possible that output might be printed for Gender.

For the Gender enum, there are now two distinct possibilities:

First: the enum has not been fully prepared.

In this situation, expect the three instances (MALE, FEMALE,OTHER) to be initialized using their appropriate constructors.

So, in this situation, you will see GenderS GenderS Gender as the output, preceding any output referring to Person.

Secondly: the Gender type has been fully prepared before an instance of Person is deserialized.

So, no messages related to Gender will be output by the deserialization process.

Once the enum is fully prepared, deserialization of the record type can proceed.

Note that for record: the (compact) canonical constructor for a record type is invoked to perform the initialization of the newly allocated object.

So, you will see the message PersonC printed as output.

Because you might or might not see GenderS GenderS Gender, and you will see PersonC in the output, the two valid answers are

PersonC

GenderS GenderS Gender PersonC

?



???? SPRING CERTIFICATION QUESTION: What is an "instant repository"? (hint: recall Spring Data)???

?Answer:???

Instant repository term refers to the dynamic creation of a repository implementation.

Such functionality is offered by the 'spring-data-jpa' module.???

???In order to utilize this functionality the following steps must be taken:???

- Configuration class has also been marked with "Enable[Jpa]Repositories" annotation.???

- custom repository interface has to extend the Repository interface, or has to be marked with RepositoryDefinition annotation.?

#spring?#certificationquestion?#vcp

CrudRepository, JpaRepository, and PagingAndSortingRepository in Spring Data????https://lnkd.in/gd5zi4zZ

?



??? JAVA 20 release: 21 March 2023

No alt text provided for this image
??? JAVA 20 release: 21 March 2023

#java?#java20?#releaseCountdown

The upcoming Java Development Kit (JDK) 20 will introduce a vector API feature, despite the initial set of features being frozen at six capabilities. The vector API enables reliable runtime compilation of optimal vector instructions for supported CPU architectures, resulting in superior performance. The other six features for JDK 20 are either in the incubation or preview stage and include scoped values, record patterns, pattern matching, foreign function and memory API, virtual threads, and structured concurrency. JDK 20 is set to be a short-term feature release, with only six months of support, while JDK 21 will be a long-term support release backed by multiple years of support. Capabilities still under consideration for Java include universal generics, string templates, sequenced collections, and an asynchronous stack trace VM API.

https://lnkd.in/evahE3fN

?



????How to choose between React and Angular?

React and Angular are both popular and widely used JavaScript frameworks for developing web applications. The choice between them depends on various factors, such as your project requirements, your team's expertise, and your personal preference. Here are some considerations that can help you make a decision:

  1. Project Requirements: The first consideration is the requirements of your project. Angular is a full-featured framework with a lot of built-in functionalities for developing complex, large-scale applications. React, on the other hand, is a lightweight library that is more suitable for building smaller, simpler applications. So, if you are developing a large, complex application, Angular might be a better choice, while React might be a better choice for smaller, simpler projects.
  2. Learning Curve: Both React and Angular have a steep learning curve, but Angular is generally considered more difficult to learn, especially for developers who are new to JavaScript. React, on the other hand, is relatively easier to learn and has a smaller API surface.
  3. Performance: React is known for its high performance and speed, thanks to its virtual DOM and efficient rendering techniques. Angular, on the other hand, is not as fast as React, but it has features like Ahead of Time (AoT) compilation that can improve its performance.
  4. Community and Support: Both React and Angular have large communities and active support. However, React has a larger community and a more diverse ecosystem, which means there are more libraries and tools available for React developers.
  5. Development Team: If you already have a development team with expertise in either React or Angular, it might make sense to choose the framework that your team is more familiar with. This will help you reduce the learning curve and speed up development.

In summary, both React and Angular have their strengths and weaknesses, and the choice between them depends on your project requirements, your team's expertise, and your personal preference. It's important to evaluate these factors carefully before making a decision.

?



IntelliJ Navigation Shortcuts ????

No alt text provided for this image
IntelliJ Navigation Shortcuts ????

  • Ctrl+B Go to declaration/usage
  • Ctrl+Alt+B Go to implementations
  • Ctrl+U Go to the super method
  • Ctrl+Alt+Left/Right Go back / forward
  • Ctrl+N Go to class
  • Ctrl+Shift+N Go to file
  • Shift+Shift Find all
  • Alt+1 Project view
  • Esc Focus editor
  • Alt+F1+Enter Jump to file in the project view
  • Alt+Left/Right Switch open editor tabs

?



SCRUM: Empiricism ??, the act of making decisions based on what is

Empiricism is the act to do the best we can with what we have ??.

A Product Owner plans ?? a release based on all current information.

The Product Owner’s job is to assess what is possible given the Team’s capabilities, and to make the best decisions to reach the desired goal ??.?

Sometimes the goal will be reached but in a way different from what the Product Owner initially intended.

This is empiricism in action. ??

The team selects what it believes it can do over the upcoming Sprint and commits to it.

However, the word "commit" is often misused as a guarantee, which affects the quality of the outcome ?? ♂?.?

Using "forecast" instead of "commit" helps to clarify that a commitment in Scrum is a pledge to do the best with what we have.

So when the Team selects Product Backlog Items in a Sprint Planning meeting, it forecasts to do it during the Sprint.?

#scrum?#developer?#empiricism

https://kenschwaber.wordpress.com/2011/05/03/empiricism-the-act-of-making-decisions-based-on-what-is/

?



????? Chuck

Chuck Norris can unit-test an entire application with a single assert.

Hello Vincent... We post 100's of job opportunities for developers daily here. Candidates can talk to HRs directly. Feel free to share it with your network. Visit this link - https://jobs.hulkhire.com And start applying.. Will be happy to address your concerns, if any

回复

要查看或添加评论,请登录

Vincent Vauban的更多文章

  • [VV113] The Java 21 Newsletter

    [VV113] The Java 21 Newsletter

    ????2??1?? Dear followers, let's prepare for Java 21 certification together! 1?? How would you answer this question:…

  • ?? Broken Function Level Authorization – API5:2023 ??

    ?? Broken Function Level Authorization – API5:2023 ??

    I'm kicking off a series of articles on API Security ?? to help us—developers ????????—better understand and implement…

  • [VV112] The Java 21 Newsletter

    [VV112] The Java 21 Newsletter

    ????2??1?? Dear followers, let's prepare for Java 21 certification together! 1?? How would you answer this question:…

  • FR Les mots sans les maux. ???

    FR Les mots sans les maux. ???

    FR Hier, j’ai eu la chance d’assister à un atelier sur la Communication Non Violente (CNV) avec les superbes people de…

  • ?? Unrestricted Resource Consumption – API4:2023 ??

    ?? Unrestricted Resource Consumption – API4:2023 ??

    I'm kicking off a series of articles on API Security ?? to help us—developers ????????—better understand and implement…

  • ?? Broken Object Property Level Authorization – API3:2023 ??

    ?? Broken Object Property Level Authorization – API3:2023 ??

    I'm kicking off a series of articles on API Security ?? to help us—developers ????????—better understand and implement…

  • [VV111] The Java 21 Newsletter

    [VV111] The Java 21 Newsletter

    ????2??1?? Dear followers, let's prepare for Java 21 certification together! 1?? How would you answer this question:…

    18 条评论
  • ?? Broken Authentication – API2:2023 ??

    ?? Broken Authentication – API2:2023 ??

    I'm kicking off a series of articles on API Security ?? to help us—developers ????????—better understand and implement…

  • ?? BOLA – The #1 API Security Threat (API1:2023)

    ?? BOLA – The #1 API Security Threat (API1:2023)

    I'm kicking off a series of articles on API Security ?? to help us—developers ??????????—better understand and…

  • [VV110] The Java 21 Newsletter

    [VV110] The Java 21 Newsletter

    ????2??1?? Dear followers, let's prepare for Java 21 certification together! 1?? How would you answer this question:…

社区洞察

其他会员也浏览了