You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Azure Functions runtime supports [Java SE 8 LTS (zulu8.31.0.2-jre8.0.181-win_x64)](https://repos.azul.com/azure-only/zulu/packages/zulu-8/8u181/). This guide contains information about the intricacies of writing Azure Functions with Java.
@@ -27,34 +22,45 @@ This article assumes that you have already read the [Azure Functions developer r
27
22
28
23
The concepts of [triggers and bindings](functions-triggers-bindings.md) are fundamental to Azure Functions. Triggers start the execution of your code. Bindings give you a way to pass data to and return data from a function, without having to write custom data access code.
29
24
30
-
## Project Scaffolding
25
+
## Create Java functions
31
26
32
-
The simplest way to scaffold a Java-based Azure Function project is to use `Apache Maven`archetypes. You can also find project generation wizards on Visual Studio Code, and the Azure Toolkits for Eclipse and IntelliJ.
27
+
To make it easier to create Java functions, there are Maven-based tooling and archetypes that use predefined Java templates to help you create projects with a specific function trigger.
33
28
34
-
There are currently two Azure Functions archetypes for Maven:
29
+
### Maven-based tooling
35
30
36
-
### Java Archetype
31
+
The following developer environments have tooling that lets you create Java function projects:
37
32
38
-
This archetype is published under the following groupId and artifactId [com.microsoft.azure:azure-functions-archetype](https://search.maven.org/artifact/com.microsoft.azure/azure-functions-archetype/).
33
+
+[Visual Studio Code](https://code.visualstudio.com/docs/java/java-azurefunctions)
34
+
+[Eclipse](functions-create-maven-eclipse.md)
35
+
+[IntelliJ](functions-create-maven-intellij.md)
39
36
40
-
```
41
-
mvn archetype:generate \
42
-
-DarchetypeGroupId=com.microsoft.azure \
43
-
-DarchetypeArtifactId=azure-functions-archetype
44
-
```
37
+
The article links above show you how to create your first functions using your IDE of choice.
45
38
46
-
### Kotlin Archetype (Preview)
39
+
### Project Scaffolding
47
40
48
-
This archetype is published under the following groupId and artifactId [com.microsoft.azure:azure-functions-kotlin-archetype](https://search.maven.org/artifact/com.microsoft.azure/azure-functions-kotlin-archetype/).
41
+
If you prefer command line development from the Terminal, the simplest way to scaffold Java-based function projects is to use `Apache Maven` archetypes. There are currently two Functions archetypes for Maven:
+**Java Archetype**: published under the following groupId and artifactId [com.microsoft.azure:azure-functions-archetype](https://search.maven.org/artifact/com.microsoft.azure/azure-functions-archetype/):
44
+
45
+
```
46
+
mvn archetype:generate \
47
+
-DarchetypeGroupId=com.microsoft.azure \
48
+
-DarchetypeArtifactId=azure-functions-archetype
49
+
```
50
+
51
+
To get started using this archetype, see the [Java quickstart](functions-create-first-java-maven.md).
52
+
53
+
+ **Kotlin Archetype (Preview)** published under the following groupId and artifactId [com.microsoft.azure:azure-functions-kotlin-archetype](https://search.maven.org/artifact/com.microsoft.azure/azure-functions-kotlin-archetype/):
The source code of these archetypes can be found on the [Azure Maven Archetypes GitHub repository](https://github.com/microsoft/azure-maven-archetypes).
57
62
63
+
58
64
## Folder structure
59
65
60
66
Here is the folder structure of an Azure Functions Java project:
0 commit comments