Skip to content

Commit b61dff4

Browse files
authored
Merge pull request #93897 from ggailey777/java
Explicitly call out Maven-based tooling
2 parents 7af9674 + e18e519 commit b61dff4

File tree

1 file changed

+31
-25
lines changed

1 file changed

+31
-25
lines changed

articles/azure-functions/functions-reference-java.md

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
---
22
title: Java developer reference for Azure Functions | Microsoft Docs
33
description: Understand how to develop functions with Java.
4-
services: functions
5-
documentationcenter: na
6-
author: rloutlaw
7-
manager: justhe
4+
author: ggailey777
5+
manager: gwallace
86
keywords: azure functions, functions, event processing, webhooks, dynamic compute, serverless architecture, java
97
ms.service: azure-functions
10-
ms.devlang: java
118
ms.topic: conceptual
129
ms.date: 09/14/2018
13-
ms.author: routlaw
10+
ms.author: glenga
1411
---
1512

16-
17-
1813
# Azure Functions Java developer guide
1914

2015
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
2722

2823
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.
2924

30-
## Project Scaffolding
25+
## Create Java functions
3126

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.
3328

34-
There are currently two Azure Functions archetypes for Maven:
29+
### Maven-based tooling
3530

36-
### Java Archetype
31+
The following developer environments have tooling that lets you create Java function projects:
3732

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)
3936

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.
4538

46-
### Kotlin Archetype (Preview)
39+
### Project Scaffolding
4740

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:
4942

50-
```
51-
mvn archetype:generate \
52-
-DarchetypeGroupId=com.microsoft.azure \
53-
-DarchetypeArtifactId=azure-functions-kotlin-archetype
54-
```
43+
+ **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/):
54+
55+
```
56+
mvn archetype:generate \
57+
-DarchetypeGroupId=com.microsoft.azure \
58+
-DarchetypeArtifactId=azure-functions-kotlin-archetype
59+
```
5560
5661
The source code of these archetypes can be found on the [Azure Maven Archetypes GitHub repository](https://github.com/microsoft/azure-maven-archetypes).
5762
63+
5864
## Folder structure
5965
6066
Here is the folder structure of an Azure Functions Java project:

0 commit comments

Comments
 (0)