How/Where to write Custom Java Code in Mendix

Hi, I would like to write a custom java code in my mendix application. Could you please let us know,where we can find detailed information on the achieving the same. In the java code,would it be possible for me to do the database operations as well,by directly connecting to JDBC drivers?
2 answers

Have you looked at the documentation yet?

And yes, technically you could do whatever you want in your java actions, though I don't recommend connecting to the Mendix database itself. Of course there are restrictions on what you can do when you deploy in our cloud environment.

  1. Right-click on your package
  2. Add > Java action
  3. ?????
  4. PROFIT!

Or you could just read the documentation :)