cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find the MI Application Name

Former Member
0 Kudos

Hi All,

I am creating a smart sync application. While creating the application that wizard does not ask to enter application name. But I herd that we need to give the same name to the war file as in the getApplicationName() method. I know that this method is in AbstractMEHttpServlet class, we need to overwrite this method. Where can I mention this application name.......

Can any body tell me where to find this ...

Thanks in Advance,

Murthy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi murthy,

you will need to subclass the AbstractMEHttpServlet and in the implementation,

you will need to return a String for your application name on the getApplicationName()

method. In your project, if created by a wizard, you will find one subclass of the

AbstractMEHttpServlet.

Note that the applicationName should not have a space character in it.

Now when your application is ready and archived, you can then upload it into

the middleware and register your application. During registration, you will need to

specify the same mcd name as your application name.

hope this help.

jo

Former Member
0 Kudos

jo,

I am enhancing the MAM3.0 Standard Application. Can you please tell me which java file contains this getApplicationName() method and contains this entry.

Thanks in Advance,

murthy

Former Member
0 Kudos

hi murthy,

the CAF (or mbs) library takes care of getting dynamically retrieving the context

name and set it as the application name. the getApplicationName implementation

is at com.sap.mbs.core.web.FrontServlet.MAM's subclasses this with

com.sap.mbs.mam.application.web.FrontServlet.

if you are to change the modification, you then have to modify it at

com.sap.mbs.mam.application.web.FrontServlet

by overriding the getApplicationMethod().

regards

jo

Answers (0)