Oracle Cloud Hangout Cafe Season 6 #2 https://ochacafe.connpass.com/event/259128/ ã»ãã·ã§ã³åç»: https://youtu.be/Ex4ttuTH2Lk
ããã¯ãè±èµãããããã¼ãµã¤ãã¢ããã³ãã«ã¬ã³ãã¼2022第2æ¥ç®ã®è¨äºã§ãã å æ¥ãJavaã®Lambdaé¢æ°ã®èµ·åãé«éåããLambda SnapStartãAWSããçºè¡¨ããã¾ãããããã®Lambda SnapStartã«ã¯Javaã®CRaC(Coordinated Restore at Checkpoint)ã使ããã¦ãã¾ãã CRaCã¯èµ·åã®é«éåã¨å³æã«ãã¼ã¯æ§è½ãçºæ®ãããæè¡ã§ããCRaCãç»å ´ããèæ¯ã«ã¯Javaã®èµ·åã®é ããããã¾ãããã®å¼±ç¹ãè£ãæè¡ã¨ãã¦ã¯GraalVMã«ãããã¤ãã£ã¤ã¡ã¼ã¸ãæåã§ãããCRaCã¯ãã®å¼±ç¹ãè£ãããä¸ã¤ã®é«éåæ段ã¨ãã¦ä»æ³¨ç®ãéãã¦ããæè¡ã§ããä»åã¯ãã®CRaCã®æ¦è¦ãä»çµã¿ããã®è©¦ãæ¹ãªã©ãç´¹ä»ãã¾ãã ã¯ããã«ãã£ã¦ããã¾ãããCRaCã¹ã´ã¤ã§ãããã³ãã«çéã«ãªãã¾ãã¨ï¼ æåã«CRaCã¨ã¯ãªã«ãã§ãããããç°¡åã«èª¬æã
ã¯ããã« ç§ã¯GCPã®Cloud Runããæ°ã«å ¥ãã®ãµã¼ãã¬ã¹ç°å¢ãªã®ã§ãããä¸çªå¾æãªè¨èªã§ããJavaã使ã£ãå ´åã®ã¹ãã³ã¢ããã¿ã¤ã ã®æªãã«ã¯é ãæ©ã¾ãã¦ãã¾ãã ãã¼ã«ã«ã§ã¯1,2ç§ã§èµ·åããå ´åã§ããä½æ ãCloud Runã«æã£ã¦è¡ãã¨ä»ã®è¨èªã¨æ¯ã¹ã¦ãåçã«é ããªãã®ã§ããã... GraalVMã®ãã¤ãã£ãã¤ã¡ã¼ã¸ã使ãã°Goãªã©ã¨éè²ç¡ãç¬æã«èµ·åããã®ã§ããããã¤ãã£ãã¤ã¡ã¼ã¸ã¸ã®å¤æã¯çãå¼·ãããé常ã®JVMã§ãæ¹åã§ããªããã¨ãã¥ã¼ãã³ã°ã試ãã¦ã¿ã¾ããã TL;DR æçµçã«60%ç¨èµ·åé度ãæ¹å 9ç§å°ã3ç§å°ã«ãªã£ã¦ããã®ã§ä½æã¨ãã¦ã¯çµæ§å¤ãã native-imageã使ãç¡ãã±ã¼ã¹ã§ããã®ããããªã許容åºæ¥ãã ãã¡ããå®å ¨åæ¢ç¶æ 以å¤ã®ã¬ã¹ãã³ã¹ã¯3ç§ã¨ãè¨ããããªç§ãªã¼ãã¼ æºåã¨åºç¤å¤ã®è¨æ¸¬ ã¾ãã¯ã¢ããªã±ã¼ã·ã§ã³ãæºåããå¿ è¦ãããã¾ããä»åã¯
ã¯ããã« å æ¥ãJakartaOne Live Japan 2022ã¨ããã¤ãã³ãã§ç»å£ããã¦ããã ãæ©ä¼ãé ãã¾ããã QuarkusãHelidonã®ãããªæ°ããã®EEãã¬ã¼ã ã¯ã¼ã¯ãããã¾ã§ã®PayaraãWebLogicã¨ã©ãéãã®ãï¼ CloudRunã®ãããªãµã¼ãã¬ã¹ç°å¢ã§MicroProfileã®ã©ã®æ©è½ãå¹æçã«åãã®ãï¼ãã¨ããç¹ãæè¿ã®Webéçºå¨ãã®ãã¬ã³ãã¨çµ¡ããªãã話ã¾ãããä¸è¨ã®ããã«ã¢ã¼ã«ã¤ãåç»ãå ¬éããã¦ãã¾ããããã£ãããªã®ã§Quarkusããµã¼ãã¬ã¹ç°å¢ã§å®è¡ã«æé©åãããã¾ã§ã®å¨è¾ºäºæ çãã¾ã¨ãããã¨æãã¾ããJavaã ãã«çã¾ããæè¿ã®ç°å¢äºæ ã®æ´çã«ãå½¹ç«ã¤ãã¨æãã¾ãã TL;DR Quarkus/Helidonã¯è»½éã§é«éãªæ°ããEEãã¬ã¼ã ã¯ã¼ã¯ ã³ã³ãããããµã¼ãã¬ã¹ãã¯ã©ã¦ããã¤ãã£ããªã©ææ°ã®ãã¬ã³ãã«åºã¥ããè¨è¨ GCPã®Cloud
Javaã¢ããã³ãã«ã¬ã³ãã¼ã«ã¨ã³ããªã¼ããè¨äºã«ãªãã¾ãã Javaã®ã¤ã¡ã¼ã¸ãä½ãä¸ã§ãã©ã®Dockerã¤ã¡ã¼ã¸ããã¼ã¹ã«é¸ã¹ã°ããã®ããã¨ããã®ã軽ã調ã¹å§ããããé¸æè¢ãããããã§ã¦ããã®ã§ãã¡ãã£ã¨çªã£è¾¼ãã§èª¿ã¹ã¦ã¿ã¾ããã 以åãä»äºã§Pythonã³ã³ããããããã¤ãã人åãã®Dockerfile (1): ãªã¼ã«ãã¤ãã£ç·¨ã§æ¸ããOSåã¨ãã¯ä»åã¯ç´¹ä»ãã¾ããã®ã§ãbusterã¨ãalpineã¨ãwindowsservercoreã£ã¦ãªã«ãï¼ã¨ããã話ã¯ãã¡ãã®è¨äºãåç §ãã¦ãã ãããä¸ç¹ã¢ãããã¼ããããã®ã¯ãDebian 11ããªãªã¼ã¹ããã¦ãã¤ã¡ã¼ã¸ã¨ãã¦bullseyeã¨ããã®ã追å ãããç¹ã§ããããã¨ã¯focal=Ubuntu 20.04LTSã¨ããã®ãè¦ãã¦ããããã°ã JDKå¨ãã®ãã¥ã¼ã¹Oracle JDKãç¡åé å¸ãããã¦ãç¡åå©ç¨ã¨ãã¦ã¯OpenJDKãã
å 責äºé ãã¡ãã®è¨äºã§ç´¹ä»ããå 容ã¯ãæè²ç®çã¾ãã¯èå¼±æ§ã«ã¤ãã¦ä»çµã¿ãç解ãå¨ç¥ãåçºãè¡ãããã ãã«ä½æãã¦ããã¾ãã ãã£ããã«ãæªç¨ããªãã§ãã ããã è¨è¼ããã¦ããã³ã¼ããå®è¡ããå ´åã«çºçããæ害ã«ã¯ä¸å責任ãè² ãã¾ããã ç解ãããæ¹ã®ã¿ä¸ã«ã¹ã¯ãã¼ã«ãã¦ãã ããã çµç·¯ 2021/12/9ã«ã¦ãè¶ æåãªãã°åºåã©ã¤ãã©ãªã§ããlog4jã®ç¬¬2ä¸ä»£ã§ä»»æã³ã¼ããå®è¡å¯è½ã§ããã¨å ±åããã¾ããã Apache Log4j2 jndi RCE#apache #rcehttps://t.co/ZDmc7S9WW7 pic.twitter.com/CdSlSCytaD â p0rz9 (@P0rZ9) December 9, 2021 â»ä¸è¨ã¯ç¹å®ã®æååããã°åºåããããã¨ã§ããã¤ã³ããã¼ã«(draw.exe)ãå®è¡ãã¦ãã Minecraft(Javaç)ã®ãã£ããæ©è½ã«ã¦ã
Press Enter, and JHipster will create your app in the current directory and run npm install to install all the dependencies specified in package.json. Verify Everything Works with Cypress and KeycloakWhen you choose OAuth 2.0 and OIDC for authentication, the users are stored outside of the application rather than in it. You need to configure an identity provider (IdP) to store your users and allow
æªã®å¸å½ Oracle ã Java ãæååãéç¨ã課ããã¨ãããã®æãæ£ç¾©ã®åè Amazon ãç«ã¡ä¸ããæ°ãã Java å®è£ Corretto ãç¡åã§åºãã¦æã£ãã®ã ï¼ â¦â¦ã¨ããæ å¼±ã好ããããªããããããã ãããããªé³è ãªã·ããªãªã«åãã§ããããã§ã¯ã¤ã³ãããªããã¯ç³» YouTuber ã«é£ãç©ã«ããã¦ãã¾ããâ Oracle ã¬ã¸ã¹ã¿ã³ã¹ã¯ãããå½¼ã㯠Oracle ã®ä¸ã«æ½ãã§ãããã ã 赤åã«è¦ãã Sunæã¯2005å¹´ã«é¡ãã Java ãéçºãã ç±³ Sun Microsystems ã¯èµ¤åã«ãããã§ããã 2004å¹´ã« Java 5 (ç®çæ©è½ã¯ã¸ã§ããªã¯ã¹) ããªãªã¼ã¹ããã¦ãã°ããã®é ã ã ãã®é ãã²ã¨ã¤ã®ãªã¼ãã³ã½ã¼ã¹ããã¸ã§ã¯ããç«ã¡ä¸ãããåã Apache Harmony ã¨ããã éçºã¯2005å¹´5æã«éå§ããã2006å¹´10æã«ã¯ Apache
Javaãå°ãã¦25å¹´... ããã«ã¡ã¯ï¼ã¿ãªããJava使ã£ã¦ãã¾ããï¼ç§ã¯å¦çã®ã¨ãã«Javaã使ãå§ãã¦ãã³ãã¥ããã£ã¨åºä¼ããä»äºã«ããªã£ã¦ãå¢ãã§ãµã³ã¿ã¯ã©ã©ã®æ¬ç¤¾ã«çªæãããã¨ããããããJavaã好ãã§ãããããã¦ãæãçµã¡ã軽éã§è»½å¿«ã«åãä»ã®è¨èªããã¬ã¼ã ã¯ã¼ã¯ãåºã¦ãããã¨ã§ãè¥ãæ¹ãJavaã使ãæ©ä¼ãæ¸ã£ã¦ãããªãã¨æãã¦ãã¾ããå¤ãã®ã¨ã³ãã©ç¾å ´ã§ä½¿ããã¦ãã¦å®ç¸¾ååãèµ·åããã¾ã§ãé ããã©åãåºãããããã©ã¼ãã³ã¹è¯å¥½ãã¨ã³ã·ã¹ãã ãåºæ¥ä¸ãã£ã¦ããJavaãããã£ã¨æ¥½ããç°¡åã«ãã§ããã°è»½å¿«ã«åãå½¢ã§ä½¿ããªããã®ãã¨ãã¢ã¤ã¢ã¤ãã¦ããä¸ãæ¨å¹´Quarkusã¨ããé¢ç½ããã®ãè¦ã¤ãã¦ãã¾ãã¾ãããããã¦ãæ¨æ¥ãã¼ã¸ã§ã³2.0ããªãªã¼ã¹ããã¾ããã®ã§ã試ãã¦ã¿ããã¨æãã¾ãã Quarkusã¨ã¯ Quarkusã¯ãKubernetesãªã©ã®ã³ã³ããä¸ã§ã®åä½ã«æé©
dockerã使ã£ã¦Javaã®éçºãã¦ããã¨ããæædocker buildã®é ããæ°ã«ãªãã é ãã¨ããã®ã¯ãã»ã¼ mvn package å®è¡æã®ä¾å解決ã«ãããæéã«å¯¾ãã¦è¨ã£ã¦ãã¾ãã ã¨ããã®ããä¾ãã°ä»¥ä¸ã®ãããªDockerfileããã£ãã¨ã # Dockerfile FROM maven:3.6.2-jdk-13 as builder COPY . /usr/src/ WORKDIR /usr/src/ RUN mvn -B package FROM openjdk:13-alpine COPY --from=builder /usr/src/target/example-1.0.0.jar / ENV CLASSPATH /example-1.0.0.jar ENTRYPOINT [] CMD ["java", "-jar", "Example"] ä¾åéã«ãããã¾ããã
ã¾ããã ãã£ã¨Java11ã使ã£ã¦ãã¾ããããã®ãããã£ããã©ã ãå¼ãStreamAPIã§ã®æ¸ãæ¹ã«æ £ãã¦ããã®ã§ãããæè¿Java7ã使ã£ã¦ç¨¼åãã¦ããããã¸ã§ã¯ãã«ç°åããã®ã§ãä½ãã§ãã¦ä½ãã§ããªãã®ããã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããã Javaã®å¤é· ç§è¦ã§ãã主è¦ã ã¨æãä»æ§å¤æ´ã並ã¹ã¦ã¿ã¾ãããã¢ããªå®è£ ã«é¢ä¿ããé¨åã®ã¿ããã¯ã¢ãããã¦ãã¾ãã ãã®ãã¼ã¸ã§ã³ã®ããã¯å ¥ãã¦ãããã»ããè¯ããï¼ã¨ã®æè¦ãããã¾ãããã³ã¡ã³ãã«ãã²ãé¡ããã¾ãã Java8 2014/03/18 æ£å¼ãªãªã¼ã¹(GA) https://openjdk.java.net/projects/jdk8/ ã©ã ãå¼ https://openjdk.java.net/projects/lambda/ https://qiita.com/sano1202/items/64593e8e981e8d6439d3 pub
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
LINEãå®æçã«éå¬ããæè¡è åããã¼ãã¢ãããLINE Developer Meetupãã65åç®ã® ã¯ãJavaãã¨ãããã¼ãã§ãJavaã®ã¹ãã·ã£ãªã¹ãã§ããLINE Fukuokaæ ªå¼ä¼ç¤¾ã®ããã ãªããæ°ããJava 9ãã14ã§ã®ç´°ããæ©è½å¤æ´ã«ã¤ãã¦ç´¹ä»ãã¾ãããé¢é£è³æã¯ãã¡ãã Java9ããJava14ã¾ã§ã®4ã¤ã®ç´°ããä»æ§å¤æ´ ããã ãªããæ°ï¼ä»¥ä¸ãããã ï¼ï¼ãããããé¡ããã¾ããåã®ã»ãã·ã§ã³ã§ã¯ãJava9ããJava14ã¾ã§ãããããããããã¨ãã話ããã¾ãã èªå·±ç´¹ä»ã§ãããããã ã¨è¨ãã¾ããLINE Fukuokaã§åãã¦ãã¦ãæè¿7å¹´ãããæ¾ç½®ãã¦ããæ´æ¿¯æ©ããã£ã¨è²·ãæ¿ãã¦ããææã£ã¦ä¾¿å©ã ãªãã¨æã£ã¦ããã¨ããã§ãã ä»æ¥ã®è©±ã§ãããJava9ããJava14ã¾ã§ããã£ãããããããªå¤æ´ãç©ã¿éãªã£ã¦ãã¦ã大ããè¨èªä»æ§ã®å¤æ´ãªã©ã¯ãã£ãã話é¡ã«ãªã
æè¿ JVM ã®ãã¼ãé åã¨ãã©ã¡ã¼ã¿ãããã¦ã³ã³ããã®é¢ä¿ã«ã¤ãã¦èª¿ã¹ã¦ã¾ããã æ¡å¤ã¾ã¨ã¾ã£ãæ å ±ãå°ãªãã£ãã®ã§ç°¡åã«ã¾ã¨ãã¾ããã Java ã®ãã¼ããµã¤ãºãè¨å® ã¾ã㯠Java ã®ãã¼ããµã¤ãºã«ã¤ãã¦ç°¡åãªããããã§ãã æ¬çªç°å¢ã§ Java ã¢ããªã±ã¼ã·ã§ã³ãéç¨ããä¸ã§ãJVM ã®ãã¼ããµã¤ãºã決å®ããã®ã¯é常ã«å¤§äºãªãã¤ã³ãã§ãã ãã¼ãé åã®æ大ãµã¤ãºã大ããããã°ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ (GC) ã®åæ°ã¯æ¸ãããã¨ãã§ãã¾ããã å¿ è¦ä»¥ä¸ã«å¤§ããããããã¨ç¡é§ã«ãªã½ã¼ã¹ãæ¶è²»ããããOOM killer 㧠OS ã«ããã»ã¹ãçµäºããããã¾ãã JVM ã使ç¨ã§ãããã¼ããµã¤ãºã¯ãJava API ã® Runtime.getRuntime().maxMemory() ã§ç¢ºèªã§ãã¾ãã ã¾ã java ã®èµ·åãªãã·ã§ã³ã« -XX:+PrintFlagsFinal ãªãã·ã§
LINEæ ªå¼ä¼ç¤¾ã¯ã2023å¹´10æ1æ¥ã«LINEã¤ãã¼æ ªå¼ä¼ç¤¾ã«ãªãã¾ãããLINEã¤ãã¼æ ªå¼ä¼ç¤¾ã®æ°ããããã°ã¯ãã¡ãã§ãã LINEã¤ãã¼ Tech Blog ããã«ã¡ã¯ãç§ã¯ãService Engineeringãã¼ã ã§SREï¼Service Reliability Engineerï¼ã®æ¥åãæ å½ãã¦ããYongChan Kwonã§ãããã¼ã åãæ¥ååããåããã¨æãã¾ãããä¸ã¤ã®æ¥åãæ å½ããããã¯ããµã¼ãã¹ã®ã©ã¤ããµã¤ã¯ã«ã«ããã¦ã¤ã³ãã©ãéçºããµã¼ãã¹æè¡ã®éã§çºçãããæ»è§ãè£ãå½¹å²ãæ ã£ã¦ãã¾ãã 2018å¹´ããªã©ã¯ã«ã®ã©ã¤ã»ã³ã¹ä½ç³»ãå¤æ´ããã2019å¹´1æ以éã¯ç¡æã§Oracle JDKã使ç¨ã§ããªããªãã¾ãããããã§ãLINEå é¨ã§ã¯OpenJDKã¸ã®ç§»è¡ã«åãã¦å¿ è¦äºé ãæ¤è¨é ç®ãäºåã«ã¾ã¨ãããããTFï¼task forceï¼ãç«ã¡ä¸ãã¾ãããã¾ãããã®ä½æ¥å
Takahiro YAMADA @yamadamn Oracle Code Tokyoãç§ããæé©ãªOpenJDKãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®é¸ã³æ¹ãã£ã¦å 容ã§ç»å£äºå®ã§ããJJUG CCCã®åæ¥ã§ããããããããã°ãåå ãã ããã oracle.co.jp/events/code/20⦠Takahiro YAMADA @yamadamn 以åå®æ½ããã¢ã³ã±ã¼ãã®4æçã§ãã æ¬æ¥ãªãªã¼ã¹ã®Oracle JDK 8u211/11.0.3以éãåç¨(ãã¸ãã¹ã»æ¬çªå«ã)å©ç¨æã«åç¨ã©ã¤ã»ã³ã¹ãå¿ è¦ã¨ãªãã¾ããã ãããè¸ã¾ãåç¨ç°å¢ã§Scala, Kotlin, Clojure, Groovyãªã©JVMè¨èªã使ãæ¹ã¯JDK/JREã¯ä½ãå©ç¨ããã¾ããï¼(ãã®ä»ã¯ãªããå¼ç¨RTã§) [ç¶ã]
ãã«ããã©ãããã©ã¼ã ã§æ¬çªç°å¢ã«å¯¾å¿ãããç¡æã® OpenJDK 11 ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ãã Amazon Corretto 11 ãä¸è¬æä¾éå§ã¨ãªãã¾ãããCrretto 11 ã¯ããã¾ã§ããã¬ãã¥ã¼çããªãªã¼ã¹åè£çãå©ç¨å¯è½ã§ããã Amazon Corretto ã®ä½¿ç¨æ¹æ³ã Corretto 11 ã®ãã¦ã³ãã¼ãæ¹æ³ã®è©³ç´°ã«ã¤ãã¦ã¯ãCorretto ãã¼ã ãã¼ã¸ãåç §ãã¦ãã ãããAmazon Corretto ã«ã¤ãã¦ã®ååã®ããã°æ稿ã«ã詳細ãªæ å ±ãããã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}