Adam Bien
Adam Bien
  • Видео 1 329
  • Просмотров 3 334 426
124th airhacks.tv: GraalVM, J2EE Migrations, Serverless, Databases #airhacks #live
Join the airhacks.tv discord server: discord.gg/airhacks
airhacks.tv​ - the monthly (first Monday of the month, 8pm CET/CEST) Questions and Answers live streaming show. The live dates are also announced on: adambien.blog​ and meetup.com/airhacks
This episode of airhacks.tv covers:
"
Migration from EJBs to Jakarta EE, stateful EJBs and passivation, scopes in Java EE, pooling in EJBs vs CDI, request-scoped vs application-scoped beans, concurrent data structures, entities vs scoped beans, GraalVM use cases, serverless Java deployment, managing multiple environments in serverless, versioning and blue-green deployment in serverless, professional coding practices, Java's role in database engine dev...
Просмотров: 290

Видео

JVector: Cutting-Edge Vector Search in Java
Просмотров 19114 часов назад
An airhacks.fm (airhacks.fm) conversation with Jonathan Ellis (@spyced ( spyced) ) about: discussion of JVector, a Java-based vector search engine, Apache Kudu (kudu.apache.org/) as an alternative to Cassandra (cassandra.apache.org) for wide-column databases, FoundationDB (www.foundationdb.org/) - is a NoSQL database, explanation of vectors and embeddings in machine learning, differe...
Object-Oriented Programming (OOP) vs. Data-Oriented Programming (DOP) in Java
Просмотров 429День назад
Object-Oriented Programming (OOP) vs. Data-Oriented Programming (DOP) in Java
Single File, Zero Installation, No Dependencies Java Web (Dev) Server #java #coding #airhacks
Просмотров 93614 дней назад
Single File, Zero Installation, No Dependencies Java Web (Dev) Server #java #coding #airhacks
From JSP to Rife and From Kotlin to Java
Просмотров 23714 дней назад
From JSP to Rife and From Kotlin to Java
"No Dependencies" Java 21 / LLM / Llama3 Integration #java #coding #airhacks #llama #llm #genai
Просмотров 1,5 тыс.21 день назад
"No Dependencies" Java 21 / LLM / Llama3 Integration #java #coding #airhacks #llama #llm #genai
The bld Power User
Просмотров 16321 день назад
The bld Power User
123rd airhacks.tv: Lambda Communication, EDAs, Step Functions and llama #airhacks #live
Просмотров 360Месяц назад
123rd airhacks.tv: Lambda Communication, EDAs, Step Functions and llama #airhacks #live
Observability-Driven Development with Digma, Serverless and Java
Просмотров 200Месяц назад
Observability-Driven Development with Digma, Serverless and Java
Exploring ONNX, Embedding Models, and Retrieval Augmented Generation (RAG) with Langchain4j
Просмотров 173Месяц назад
Exploring ONNX, Embedding Models, and Retrieval Augmented Generation (RAG) with Langchain4j
High-Performance Java, Or How JVector Happened
Просмотров 281Месяц назад
High-Performance Java, Or How JVector Happened
From Bare-Metal JAR to Serverless Lambda with Quarkus and MicroProfile #quarkus #airhacks #java
Просмотров 957Месяц назад
From Bare-Metal JAR to Serverless Lambda with Quarkus and MicroProfile #quarkus #airhacks #java
llama2.java--Llama 2 in With One Pure Java 21 File #java #coding #airhacks #llama #llm
Просмотров 1,4 тыс.Месяц назад
llama2.java Llama 2 in With One Pure Java 21 File #java #coding #airhacks #llama #llm
LLama2.java: LLM integration with A 100% Pure Java file
Просмотров 309Месяц назад
LLama2.java: LLM integration with A 100% Pure Java file
122nd airhacks.tv: Serializable, parallelStream() vs. Reactive Programming, EpsilonGC #airhacks
Просмотров 604Месяц назад
122nd airhacks.tv: Serializable, parallelStream() vs. Reactive Programming, EpsilonGC #airhacks
How Kotlin Happened
Просмотров 2732 месяца назад
How Kotlin Happened
How To Learn Quarkus #java #coding #airhacks #quarkus
Просмотров 1,6 тыс.2 месяца назад
How To Learn Quarkus #java #coding #airhacks #quarkus
How Azul Happened
Просмотров 2172 месяца назад
How Azul Happened
Pure Java AI
Просмотров 4422 месяца назад
Pure Java AI
How OpenRewrite Happened
Просмотров 2152 месяца назад
How OpenRewrite Happened
Application Configuration with Java's Preferences API #java #coding #airhacks
Просмотров 1,1 тыс.2 месяца назад
Application Configuration with Java's Preferences API #java #coding #airhacks
bld 🛠️ vs. Apache Maven #java #coding #airhacks #bld
Просмотров 1,5 тыс.2 месяца назад
bld 🛠️ vs. Apache Maven #java #coding #airhacks #bld
bld 👉 The Hypersonic Java Build Tool #java #coding #airhacks #bld
Просмотров 1,2 тыс.2 месяца назад
bld 👉 The Hypersonic Java Build Tool #java #coding #airhacks #bld
121st airhacks.tv: Serverless Java with AWS Lambda, Frameworkless, Testing, #airhacks #live #java
Просмотров 5402 месяца назад
121st airhacks.tv: Serverless Java with AWS Lambda, Frameworkless, Testing, #airhacks #live #java
Underscore, Pattern Matching, Java LTS And When Previews Are Stable
Просмотров 2412 месяца назад
Underscore, Pattern Matching, Java LTS And When Previews Are Stable
Integrating AI with Java: Quarkus and Langchain4j
Просмотров 3723 месяца назад
Integrating AI with Java: Quarkus and Langchain4j
Java 22+: Run HTTP Server Project Without Compiling #java #coding #airhacks
Просмотров 1,5 тыс.3 месяца назад
Java 22 : Run HTTP Server Project Without Compiling #java #coding #airhacks
How Linkblog Happened
Просмотров 1323 месяца назад
How Linkblog Happened
A Better JNI: Project Panama
Просмотров 2243 месяца назад
A Better JNI: Project Panama
How LangChain4j Happened
Просмотров 2303 месяца назад
How LangChain4j Happened

Комментарии

  • @fearisan
    @fearisan 4 часа назад

    If y’all haven’t seen Adam Bien live, do so! It’s such good comedy! I still have very fond memories of a talk at Jax many many years ago 👌 It was about EJB and he just created an interface and then the class for it saying „we call it the same name + Impl“ to emphasise the decoupling between the two 😜 And it just kept going ❤️ It was so refreshing after the other more serious talks at that conference

    • @bienadam
      @bienadam 4 часа назад

      Thank you so much! I'm going to w-jax this year, so if you're also attending, please say hello! Back to "Impl": I recently reviewed a project with hundreds of 1:1 Interface -> Impl pairs and marked it as a defect.

  • @sebastianaltmann7988
    @sebastianaltmann7988 6 часов назад

    Super usefule like most of thes shorts.... NOT

  • @zahidahmed7043
    @zahidahmed7043 6 часов назад

    Thanks, Adam for your effort. I really like your short videos.

  • @cosmiclattemusic
    @cosmiclattemusic 6 часов назад

    it's actually really cool but still using the ms notation doe to the fact that lot of languages uses just ms fact is that in case I don't want to express "seconds" this becomes really really handy, ty

    • @bienadam
      @bienadam 5 часов назад

      What about: System.out.println("good night"); Thread.sleep(Duration.ofMillis(1_000)); System.out.println("good morning"); Thank you for watching!

  •  6 часов назад

    There is a better option TimeUnit.SECONDS.sleep(1) since Java 1.5

  • @truth-7380
    @truth-7380 10 часов назад

    I was always convinced, this man is an imposter. 😂😂😂 Does not know about he talks. Really sad.

  • @walterwatz-vy2re
    @walterwatz-vy2re 16 часов назад

    In latrst java version concerning single claass app you can run and compile in one step 😊

  • @walterwatz-vy2re
    @walterwatz-vy2re 16 часов назад

    That's not a deadlock at all! Study finite automata theory first, before publishing random code examples

  • @WalrusWarrior
    @WalrusWarrior День назад

    how to sleep 8 hours in 1 nanosecond😅

    • @bienadam
      @bienadam День назад

      ...I would even invest a whole millisecond for 8 hours of sleep 😀

  • @76kiril
    @76kiril 2 дня назад

    If you need this in Java, the probability that you are doing something wrong is high.

    •  2 дня назад

      Please elaborate beginner here

    • @bienadam
      @bienadam 23 часа назад

      I have a concrete use case that I will implement soon - and maybe make a short film about it 😀 The "Serve and Open" github.com/adamBien/SaO.java is a development tool that starts an HTTP server and opens a default browser with the configured URI. But: to open a specific browser you need an OS specific command (e.g. open -a Chrome on Mac). By the way, I got questions about Windows support right after the release. That's why I need to know the OS...

  • @cobrab1978
    @cobrab1978 2 дня назад

    And thanks for your response about Java and database engines, I will working in a edge cloud database system using Java.

    • @bienadam
      @bienadam День назад

      "edge cloud database system using Java"? 👉 you are invited to: airhacks.fm for a chat. Btw. this is the reference to the podcast I mentioned during the show: airhacks.fm/#episode_295

  • @cobrab1978
    @cobrab1978 2 дня назад

    I usually use webjars when programming using templates in Java

    • @bienadam
      @bienadam 2 дня назад

      Thank you for your feedback. Good to know!

  • @andreperez9403
    @andreperez9403 2 дня назад

    Interesting...❤

  • @ramdaneoualitsen1323
    @ramdaneoualitsen1323 4 дня назад

    Thanx good to know but is it useful.

  • @ifeanyichukwuotiwa9510
    @ifeanyichukwuotiwa9510 4 дня назад

    Can you do this in prod?

    • @bienadam
      @bienadam 4 дня назад

      It depends on the load / operation per second. I would use it in prod after performing load tests and measuring the impact. Thanks for watching!

  • @anwartech8193
    @anwartech8193 4 дня назад

    Why is the code wrapped inside an interface? Isn't an interface requires only abstract methods?

    • @HtcMega
      @HtcMega 4 дня назад

      Look the previous Videos, Adam explains this also, that is possible to use interfaces with main Method.

    • @bienadam
      @bienadam 4 дня назад

      Exactly: "Why the main() Method Belongs in an Interface" 👉 ruclips.net/user/shorts3A1TmTm01Q0 Thank you!

  •  4 дня назад

    What does it do in real life if i make a java app? Will it make the app run faster?

  • @tharteon1866
    @tharteon1866 4 дня назад

    For the efficiency nerds, no, you should never do this in hot code or real time systems or anything that needs efficiency

    • @HtcMega
      @HtcMega 4 дня назад

      Why?

    • @tharteon1866
      @tharteon1866 4 дня назад

      @@HtcMega having each operation include a branch in your CPU is basically a sentence to death for your efficiency

  • @pauldaly1yt
    @pauldaly1yt 4 дня назад

    Just switch to BigInteger 🙂

  • @mytube3486
    @mytube3486 4 дня назад

    java is coooool

    • @bienadam
      @bienadam 4 дня назад

      👍 Thanks for watching!

  • @mytube3486
    @mytube3486 4 дня назад

    👌

  • @cobrab1978
    @cobrab1978 5 дней назад

    Adam, do you think Java is losing space in the development of database engines? What do you see in Java development that will remedy this?

    • @bienadam
      @bienadam 5 дней назад

      An interesting question! I will cover the question at the 124th airhacks.tv livestream: adambien.blog/roller/abien/entry/ejb_migrations_kubernetes_serverless_java Thank you for listening!

  • @stephansinger9
    @stephansinger9 6 дней назад

    This Design desicion is horrible. Given you work on a lib and change your collectors (like sonar will advice you). Now you`re changing the behavior without the Client beeing able to check this at compile time. Don`t ask me how i know.

  • @waqasrana7891
    @waqasrana7891 6 дней назад

    What’s is benefit or advantage of doing that ?

    • @BenCauntyt
      @BenCauntyt 5 дней назад

      Using enums to do polymorphism can have performance improvements due to the compiler knowing the exact size of any variant of Languages. Vs if you used an interface the compiler does not necessarily know you didn’t add more fields to a specific implementation of languages and thus must be stored on the heap.

    • @bienadam
      @bienadam 4 дня назад

      There are no advantages, just another option that might be helpful. I'm working with enums a lot and got the idea to record this short. Thank you for watching!

  • @angelschmal
    @angelschmal 6 дней назад

    This is some kind of wizardy

    • @bienadam
      @bienadam 4 дня назад

      We call it just: "Java" 😊 Thanks for watching!

  • @user-xf4ht5uc1p
    @user-xf4ht5uc1p 6 дней назад

    Cool!

  • @mytube3486
    @mytube3486 7 дней назад

    👍

  • @fxroki
    @fxroki 7 дней назад

    Why you use interface

    • @bienadam
      @bienadam 4 дня назад

      "Why the main() Method Belongs in an Interface" 👉 ruclips.net/user/shorts3A1TmTm01Q0 Thank you! 😀

  • @andreaskorth9599
    @andreaskorth9599 8 дней назад

    Just reading "interface App" reminds me why I quit Java and never bothered to touch it again.

    • @bienadam
      @bienadam 8 дней назад

      Disclaimer: Java developers don't write main methods very often. However: just rename it to '"class App" and you are back in the game. Btw. I have a lots of fun with Java Thanks for watching my Java shorts 😀

  • @khalilelemam1349
    @khalilelemam1349 9 дней назад

    It reminds me. When i was so beginner (still a beginner) i was doing something with this but i really don't remember (i like playing with programming language to understand it 😅😅) i was pulling my hair why it gives me this behaviour and i searched alot to know that. But still don't know why this behaviour. Why no turning it to long for example. Also this behaviour occurs with long types

  • @seasong7655
    @seasong7655 9 дней назад

    This is terrible behavior, they should just give you an exception so it doesn't go unnoticed when it happens. Kotlin and C++ seem to do the same thing.

    • @bienadam
      @bienadam 4 дня назад

      This is also possible: "Preventing The Integer Overflow" 👉 ruclips.net/user/shortsiZeUJTHWIYI Thank you. The short in the reply was inspired by your comment.

  • @shobhitkumarshaw6844
    @shobhitkumarshaw6844 9 дней назад

    How to avoid it or get an exception when it is underflow or overflow?

    • @bienadam
      @bienadam 4 дня назад

      Getting exceptions is easy in Java 😀: "Preventing The Integer Overflow" 👉 ruclips.net/user/shortsiZeUJTHWIYI

  • @DOBLE29
    @DOBLE29 9 дней назад

    I am trying to raise a Jboss on port 1543 but I get this error "Caused by: java.lang.IllegalArgumentException: port out of range:-2188" using the offset ports option, I cannot raise a Jboss with a lower port to 2188?

  • @DOBLE29
    @DOBLE29 9 дней назад

    hi Adam

  • @jimmypraet
    @jimmypraet 10 дней назад

    The int subtraction can overflow. You can instead use Integer.compare(this.number, other.number).

    • @bienadam
      @bienadam 10 дней назад

      +1 Delegating to Integer is also more readable. Thanks for watching!

    • @bienadam
      @bienadam 9 дней назад

      ...like this?: ruclips.net/user/shortsJO_l5BwlQRE?feature=share 😀 Stay tuned.

    • @bienadam
      @bienadam 8 дней назад

      Thanks for the hint 👉 ruclips.net/user/shortsDcl-m45ZCi4?feature=share 😊

  • @csm2526
    @csm2526 11 дней назад

    The Abstract Factory pattern is there. Using runtime polymorphism it will decide.

  • @sohamvishwas6795
    @sohamvishwas6795 12 дней назад

    Thank you Adam🙂

  • @mrrahulworld
    @mrrahulworld 13 дней назад

    Does this apply to fetching values of same/different keys via multiple threads as well?

  • @hlubradio2318
    @hlubradio2318 13 дней назад

    Sorry im pythonic, C, C++ and dart but hate java

  • @dempile
    @dempile 15 дней назад

    back in black

    • @bienadam
      @bienadam 15 дней назад

      ...after White Wedding

  • @smartybln75
    @smartybln75 15 дней назад

    Only when I try to write into a hashmap?

  • @stocothedude
    @stocothedude 15 дней назад

    your videos are so cool ❤

    • @bienadam
      @bienadam 15 дней назад

      Thank you for watching! Java is cool 😀

  • @JavaCodeShorts
    @JavaCodeShorts 15 дней назад

    Cool!

  • @datenschauer
    @datenschauer 16 дней назад

    This is really cool for debugging. Because sometimes you just want to check if your long chain of steaming methods are doing the right thing! Nice! So you could also use a logger as consumer, right?

  •  16 дней назад

    Sir tips and tricks you can recommend for peeps to improve their algorithm

  • @JavaCodeShorts
    @JavaCodeShorts 16 дней назад

    Cool! Thanks for sharing! 👍

  • @vrishankrithe2946
    @vrishankrithe2946 17 дней назад

    After watching the video. I use the same thing in my code and it work. Thanks for creating the video

  • @pauldaly1yt
    @pauldaly1yt 17 дней назад

    Actually quite useful! Thanks

  • @jimishukurow2286
    @jimishukurow2286 17 дней назад

    This one was good

  • @HansPeter-qg2vc
    @HansPeter-qg2vc 17 дней назад

    Only the most homosexual features for the most bloated language for the most bloated runtime lol

    • @MarkJaeger
      @MarkJaeger 17 дней назад

      I suspect that you never bothered to learn how to leverage Javadocs to understand what Java classes do, and how to use them.

    • @HansPeter-qg2vc
      @HansPeter-qg2vc 17 дней назад

      @@MarkJaeger Bruh if your functions don't need to fit into classes, have good names, have reasonable arg names, and aren't too convoluted, you don't need documentation for the vast majority of your functions.

    • @MarkJaeger
      @MarkJaeger 17 дней назад

      @@HansPeter-qg2vc you ignore the fact that not all code is for internal consumption. If you want to publish a public API, it's irresponsible to fail to provide Javadocs.