Can we develop apis (not api proxy) using java in apigee edge ?

Not applicable
 
0 1 165
1 REPLY 1

@Nishant Kumar I would say YES to Can you do it?

Put a no-target backend and write the whole API using Java Callout

But the real question is: Should you do it?

The general answer is no. Because the java in Edge is equivalent to a J2SE application and not a J2EE application. It is designed to execute a business logic per transaction. An example can be trying to encrypt/decrypt the payload.

But if you want to write business logic and create an API, node.js is a much better candidate. Because architecturally it is designed in a different way than Java callout. And you can actually write a process in node.

Use BaaS for data store and node for writing the business logic. That way you can create the APIs in Edge.