Dear SAP Cloud Platform Community,
I have been developing applications in NEO environment for a while and still there is a question which needs to be answered in my head. Which one is better for NEO environment: MTA project with different modules or individual modules deployed seperately ?
I was creating and deploying projects seperately: create SAPUI5 application, develop then deploy individually. Same lifecycle goes for Java application as well.
Then I found about MTA and it seemed to me very useful. If different modules/applications are working together, create them in a single MTA project and deploy them as a whole. It is very organized and neat. In order to create an MTA project, Full-stack Web ide must be used. After I created MTA and modules inside, I realised something. When you right click on the project on the deploy option there is only "Deploy to Cloud Foundry" which made the first question pop in my head : Does MTA only meant for Cloud Foundry environment ?
Then I figure out how to deploy an MTA project to NEO environment but it is very challenging than it should be. After many problems and solutions, I finally got in the hana(mdc) connection step of my java application. I configured xml's and wrote the java classes as told in the tutorials but I got this error :
ClassNotFoundException :com.sap.xs.jdbc.datasource.tomcat.TomcatDataSourceFactory
I easily established Hana connection when I was developing individual projects but for MTA project, I have been working on this problem for two days, tried so many workarounds but still got the same error. I examine the NEO SDK and couldn't find such class.
So I am thinking about developing individual and give up on MTA for NEO environment. But I don't know if this option will create restrictions for me in the future. What are the advantages of MTA against individual projects ? Is there a difference between them ?
Any answer is appriciated.