The document provides an overview of using sbt (Scala Build Tool) including:
- Installing sbt and creating a basic project structure
- Common sbt commands like compile, run, and test
- Defining settings and tasks in build.sbt
- Referencing settings from tasks and getting task results
- Using scopes to define values for specific projects or configurations
- Plugins that add additional functionality to sbt
This document discusses various techniques for implementing the singleton design pattern in Java and Scala. It covers using static fields, enums, lazy initialization with double-checked locking, and Scala's object keyword. The key approaches are to ensure only one instance is created and all clients access the same instance.
The document discusses concepts related to domain-driven design (DDD) including entities, value objects, services, factories, repositories, and aggregates. It provides examples of implementing these concepts in Java and Scala code and references Flickr photos that illustrate DDD concepts visually.
The document discusses Twitter4J, a Java library for accessing the Twitter API. It notes that Twitter4J allows 100 requests per hour to the Twitter API, while Twitter4S, its Scala equivalent, allows 500 requests per hour by making 5 requests in parallel for each call. The rest of the document lists various Scala libraries and tools related to building Scala applications that interact with services like Twitter, databases, caches, and message queues.
Introduction to GraphQL in Scala (ScalaMatsuri 2017)Yuki Katada
?
GraphQL is a query language that provides an alternative to REST APIs. It allows clients to fetch multiple resources with a single request by defining the desired resources in the query. This is more efficient than making separate requests in REST for each resource. While GraphQL reduces the number of requests, it requires defining object schemas and writing long queries in a string format, which some find difficult. The presenter's company tested GraphQL but ultimately decided to keep using REST due to these downsides.
IoT Devices Compliant with JC-STAR Using Linux as a Container OSTomohiro Saneyoshi
?
Security requirements for IoT devices are becoming more defined, as seen with the EU Cyber Resilience Act and Japan’s JC-STAR.
It's common for IoT devices to run Linux as their operating system. However, adopting general-purpose Linux distributions like Ubuntu or Debian, or Yocto-based Linux, presents certain difficulties. This article outlines those difficulties.
It also, it highlights the security benefits of using a Linux-based container OS and explains how to adopt it with JC-STAR, using the "Armadillo Base OS" as an example.
Feb.25.2025@JAWS-UG IoT
Introduction to GraphQL in Scala (ScalaMatsuri 2017)Yuki Katada
?
GraphQL is a query language that provides an alternative to REST APIs. It allows clients to fetch multiple resources with a single request by defining the desired resources in the query. This is more efficient than making separate requests in REST for each resource. While GraphQL reduces the number of requests, it requires defining object schemas and writing long queries in a string format, which some find difficult. The presenter's company tested GraphQL but ultimately decided to keep using REST due to these downsides.
IoT Devices Compliant with JC-STAR Using Linux as a Container OSTomohiro Saneyoshi
?
Security requirements for IoT devices are becoming more defined, as seen with the EU Cyber Resilience Act and Japan’s JC-STAR.
It's common for IoT devices to run Linux as their operating system. However, adopting general-purpose Linux distributions like Ubuntu or Debian, or Yocto-based Linux, presents certain difficulties. This article outlines those difficulties.
It also, it highlights the security benefits of using a Linux-based container OS and explains how to adopt it with JC-STAR, using the "Armadillo Base OS" as an example.
Feb.25.2025@JAWS-UG IoT