?? ???? Amazon?? ? ?? ????? ????. ???? ??? ???? Medium?? ?? ????? ?? ?? ???. ??? ?? ??????!
Java? ???? ?????? ??? ??? ??? ??? ? ????. ??? ????? ?? ??? ?????? ???? ???? ?? ??? ?? ??????. ???? ????, ???? ?????? ??? ?? 5?? ?? Java ?????? ???????.
AWS Lambda? Java? ???? ??? ???? ???? ?????. Java? AWS SDK? Lambda ?? ??? ?????, AWS SAM? ?? ? ??? ??????.
??? ?? Java Lambda ?????.
public class LambdaHandler implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent> { public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent input, Context context) { String name = input.getQueryStringParameters().get("name"); String message = String.format("Hello, %s!", name); return new APIGatewayProxyResponseEvent() .withStatusCode(200) .withBody(message); } }
? ??? API Gateway ???? ???? "??" ?? ????? ???? ??? ?? ???? ?????. ???? API ??? ?? ?????? ??? ?? ?????.
AWS Lambda ??? ?? AWS SAM CLI? ?? ??? ? ??? ?? ?????. ?? SAM ???:
AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Resources: HelloFunction: Type: AWS::Serverless::Function Properties: Handler: com.example.LambdaHandler::handleRequest Runtime: java11 Events: HelloApi: Type: Api Properties: Path: /hello Method: get
? ???? Lambda ??? ???? ?? ???? API ????? ?????? ?????.
Quarkus? ???? ???? Java ?????? ??? ?????. ?? ??? ???? ??? ??? ???? ??? ?????. Quarkus? GraalVM ???? ??? ???? ??? ?? ??????.
??? Quarkus ??????:
@Path("/hello") public class GreetingResource { @GET @Produces(MediaType.TEXT_PLAIN) public String hello() { return "Hello from Quarkus"; } }
Quarkus? ??? ?? ??? ??:
./mvnw package -Pnative
??? ?? ?? ?? ??? ???? ?? Java ???????? ?? ?? ??? ?????.
Spring Cloud Function? ??? ???? ????? ??? ????? ??? ?????. ???? ??? ?? Java ??? ?????. ?:
@SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } @Bean public Function<String, String> uppercase() { return String::toUpperCase; } }
??? ???? ???? ???? ?????. AWS Lambda, Azure Functions ? Google Cloud Functions? ?? ?????.
Micronaut? ??????? ? ???? ????????? ???????. ?? ??? ? ?? ??? ?? ?? ??? ???? ??? ??? ?????. ?? Micronaut ??:
@FunctionBean("hello") public class HelloFunction implements Function<String, String> { @Override public String apply(String name) { return "Hello, " + name + "!"; } }
Micronaut? ??? ?? ??? ?? ? AOP? ??? ???? ????? ??????.
???? ???? ?? ???? ???? Fn ????? ???? ?????. Java? ??? ?? ??? ???? ??? ????? ???? ??????? ?????. ??? Java Fn ??:
public class HelloFunction { public String handleRequest(String input) { String name = (input == null || input.isEmpty()) ? "world" : input; return "Hello, " + name + "!"; } }
Fn? ??? ??:
fn create app myapp fn deploy --app myapp --local
??? ?????? ??? ???? ??? ?? ??? ??? ?????. ????? ??? ???? ????? ? ???? ?? ????.
???? ??????? ????? ?? ???, ??? ???, ???? ??? ??? ???? ???. AWS Lambda? ?? AWS ????? ??? ??? AWS ?? ????? ?????.
Quarkus? ?? ??? ?? ???? ??? ???? ?????. Spring Cloud Function? ???? ?? ???? ?? ????? ??? ?????. Micronaut? ???? ??? ?? ??? ?????. Fn ????? ???? ?? ???? ?? ????? ?????? ?? ????.
???? ???? ?????. ??? ?????? ?? ?? ??? ????? ?? ??? ???? ??? ????. AWS Lambda ???? ???? DynamoDB ??:
public class LambdaHandler implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent> { public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent input, Context context) { String name = input.getQueryStringParameters().get("name"); String message = String.format("Hello, %s!", name); return new APIGatewayProxyResponseEvent() .withStatusCode(200) .withBody(message); } }
??? ?? DynamoDB ?????? ????? ??? ?????.
?? ??? ?????. ???? ??? ????? ?? ??????. DynamoDB? ?? ?? ???? ??? ?????. Quarkus?? DynamoDB? ???? ?:
AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Resources: HelloFunction: Type: AWS::Serverless::Function Properties: Handler: com.example.LambdaHandler::handleRequest Runtime: java11 Events: HelloApi: Type: Api Properties: Path: /hello Method: get
?? ?? ? ??? ??????. ??? ?? ??? ?? ??? ?????. Spring Cloud ?? ?? ?:
@Path("/hello") public class GreetingResource { @GET @Produces(MediaType.TEXT_PLAIN) public String hello() { return "Hello from Quarkus"; } }
?? ??? ??? ??? ??? ????. AWS Step Functions? AWS Lambda ??? ???? ? ??? ???.
./mvnw package -Pnative
???? ??????? ????. Quarkus? @QuarkusTest
:
@SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } @Bean public Function<String, String> uppercase() { return String::toUpperCase; } }
AWS Lambda? aws-lambda-java-tests
:
@FunctionBean("hello") public class HelloFunction implements Function<String, String> { @Override public String apply(String name) { return "Hello, " + name + "!"; } }
Java ???? ??? ??? ???? ?????. ????? ??? ???? ?? ??? ?? ????. ???? ??? ?????? ?? ??? ???? ????? ?? ???? ?? ???? ???? ?? ??????? ?? ? ????.
101?
101 Books? ?? Aarav Joshi? ?? ??? AI ?? ??????. ??? AI ?? ?? ??? ?? ??? ?? ?????. ?? ??? ??? $4?? ???? ?? ??? ??? ??? ? ????.
Amazon?? Golang Clean Code ?? ?????.
?? ??? ?????! ? ?? ?? ??? Amazon?? Aarav Joshi? ?????. [??]? ?? ?? ??? ?????!
??? ???
?? ?? ????:
???? ??? | Investor Central(????) | Investor Central(???) | ????? | ??? ??? | ????? ???? | ???? | ??? ??? | JS ??
Medium? ????!
?? ??? ???? | Epochs & Echoes World | ???? ???(?) | ???? ????(?) | ??? ??(??) | ?? ????
? ??? ???? ??? ?? ??? Java ?????: ???? ???? ? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











?? ?? ?? ??? ??? ?? ??? ??, ? ? ?? ? ??? ?????. 1. ??? ?? ???? ?? ???? ???-????, ? ??? ??? ??? ? ????, Hashmap? ???-??? ?? ??? ??? ???? ????. 2. NULL ? ?? ???? HashMap? ??? NULL ?? ?? ? ?? ???? ?? HashTable? NULL ?? ?? ???? ??? NullPointerException? ?????. 3. ????? ??? ????? ?? ??? ?? ?? ? ????? HashTable? ? ??? ?? ?? ??? ????. ?? ConcurrenTashMap? ???? ?? ????.

Java? ?? ??? ??? ?? ??? ??? ?? ??? ??? ?? ??? ?? ?? ??? ???? ??? ?? ???? ?????. 1. ??? ???? ??? ?? ?? ? ???? ?? ??? ???? ?? ?? ??? ? ????. 2. ???? ?? ??? ???? ??? ?? ???? ?? ?? ??? ???????. 3. ?? ???? ?? ?? ?? ? ???? ???? ?? NULL ?? ??? ? ????. 4. ?? ???? ??? ?? ?? ? ??? ?????? ?? ??? ??? ?? ?? ??? ????? ??? ??? ??? ??????? ?? ???? ??????.

staticmethodsininterfaceswereIntRectionSelffacesswithinteffaceswithinteffaceswithintintinjava8toallowutilityFunctionswithinterfaceitswithinteffaceswithinterfaceffaces

JIT ????? ??? ???, ??? ?? ? ???, ?? ?? ? ???? ? ? ?? ?? ??? ? ?? ??? ?? ??? ??????. 1. ??? ???? ?? ?? ??? ??? ?? ?? ???? ??? ?? ?????. 2. ??? ?? ? ??? ?? ?? ? ??? ???? ?? ?? ???; 3. ?? ??? ??? ?? ??? ???? ???? ???? ? ?? ?? ??? ?????. 4. ?? ??? ?? ??? ??? ???? ???? ?? ? ??? ???? ?? ??? ?????.

???? ??? ??? Java?? ??? ?? ???? ??? ?? ? ? ??? ??? ???? ? ?????. ?? ???? ??? ??, ??? ?? ??? ?? ?? ??? ??? ????? ???? ????? ?????. ?? ??? ??? ??, ????? ? ??? ????, ?? ??? ??? ?????? ? ?? ? ?? ?????.

??? ??? ?? ?? ??? ????? ? ???? ????? ???? ?? ???? ?? ???? ?????. ?? ??? ??? ????. ?? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ?? ??? ??? ?????. ?? ??? ??? ????. ?? ??? ?? ??? ?? ?? ??? ?? ?? ??? ???? NewClass ()? ??? ?? ???? ????. ?? ??? ?? ??? ???? ?? ??? ?? ? ? ??? ?? ?? ??? ????? ????? ?????. ?? ??, ?? ?????? ?????, ??? ? ?? ????? ??? ?? ?????. ???? ?? ?? ??? ???? ?? ???? ?? ? ??? ???? ?? ??? ?? ?????? ?????. ???? ???? ??? ??, ?? ?? ? ?? ??? ????, ?? ?? ???? ?????.

injava, thefinalkeywordpreventsavariable'svalue'svalueffrombeingchangedafterassignment, butitsbehaviordiffersforprimitivesandobjectreences.forprimitivevariables, asinfinalintmax_speed = 100; wherereassoncesanerror.forobjectref

??? ? ?? ??? ???? : ????? ?? ?. 1. int? ???? ???? ?? ?? ?? ? ??? ???? ?????. 2. ?? ? ???? (int) myDouble ??? ?? ?? ??? ?????. ?? ??? ??? ?? ??? ?? ??, ?? ?? ?? ???? ?? ??? ?? ???? ?? ?????. ???? ? ??? ??? ????. ?? ??? ??? ??? ??? ??? ?? ??? ??? ? ??? ?? ???? ??? ??? ??? ??? ? ??? ?? ??? ?? ??? ?? ?? ? ? ????. ?? ?? ??? ?? ??? ??? ??? ??? ? ??????.
