does Apigee on premises support Java Classes like we do in eclipse or in of the tool?

ekumar
New Member

HI

I am in the thought of buying apigee my doubt is "can I write java code and is it possible to execute the code in the normal way how we do in eclipse or any IDE?

does Apigee Support java code?

Can i have a clear picture around this?

Thanks in Advance.

0 1 253
1 REPLY 1

A Java callout policy lets you call Java code from within an executing proxy flow. Your Java code needs to implement certain Edge-specific Java interfaces that allow the code to interact with the executing proxy. For example, Java methods exist for getting and setting headers, query parameters, flow variables, and other entities within the current flow context of the proxy.

We only have the option of uploading the JAR.

It does not provide IDE to write Java code.

  • A Java Callout policy contains no actual code. Instead, a Java Callout policy references a Java 'resource', which you must package in a JAR.

https://docs.apigee.com/api-platform/samples/cookbook/how-create-java-callout

https://docs.apigee.com/api-platform/reference/policies/java-callout-policy

You need to use eclipse or any other IDE to write Java code specific to Apigee and complie and package it to a JAR.