Issues from MTA tool analysis - mta

I have uploaded my spring boot application in Migration tool for application. Issues are coming from dependency jar also. The issues are like file system path, io and nio are need to be replaced with Linux style. Do we want to change all these in third party library or any other way to resolve all these issues. Please help me on this.
Thanks in advance!!

Related

Geolocation, Geocoding in C++

I am working on a project or application built in Windows using C++. I would like to seek help on any idea or approach or existing libraries that implements geolocation/geocoding, since I want to limit may C++ Windows application to run on certain region or country only.
Any suggestions, comments will be a great help. Thanks.
It won't be possible to prevent an application from running locally in certain regions. A user can always disconnect from the internet and then you'll have no idea where they're located.
What you could do is to have some of your app logic run in a server, then make requests to your server from the local C++ app. Then you can geolocate based on the IP address of the request, often a standard feature in cloud platforms.
If you do want to explore getting someone's location, you can look at Apple's Core Location or Microsoft's Geolocation namespace.

How to best deploy SNMP in existing application?

I have an existing Windows desktop application written in C++ that needs to add support for SNMP so that a few pieces of status information are available on some SNMP OIDs. I found the net-snmp project and have been trying to understand how this can best fit into the existing program.
Questions:
Do I need to run snmpd, or can I just integrate the agent code into my application? I would prefer that starting my application does everything necessary rather than worry about deploying and running multiple processes, but the documentation doesn't speak much about doing this. The net-snmp agent daemon tutorial has an option for running the sample code as the full-agent rather than sub-agent, but I'm not sure about any limitations of doing this.
What would the PROs/CONs be for running a full agent in my application vs using snmpd and putting a subagent in my application? Is there a 3rd option I should also consider?
If I can integrate the full agent into the existing program, how do I pass it a configuration file via the API? Can I avoid the config file all together by passing these parameters in via function call instead?

how i can find com.ibm.ws.exception.wsexception jar file?

i added the admin.jar file correctly to the classpath and to my java application, but these errors still appear 1- The project was not built since its build path is incomplete. Cannot find the class file for com.ibm.ws.exception.WsException. Fix the build path then try building this project.
2- The type com.ibm.ws.exception.WsException cannot be resolved. It is indirectly referenced from required, i understand that there is a helper jar file should be added to my app, but unfortunetely i could not find it.
Two things here:
1) You need WebSphere classes in your build path. The server provides an API/SPI jar specifically for this purpose: WAS_HOME/dev/was_public.jar. It contains WsException, among other classes.
2) You mentioned having "admin.jar" in your class path and Java application. If that means that you're packaging a WebSphere server jar in your Java EE application... don't do that. The server jars are not designed to be packaged within apps, and you run a very high risk of unexpected linkages and class loader hierarchy issues if you try it.
If this is a standalone Java client, not a Java EE application installed on the server, there are thin client jars in WAS_HOME/runtimes that are designed to be used in client application class paths; the server jars in the plugins directory are not designed to be used outside the context of the application server itself.
I agree with Jarid that the proper way is by using the client but if you still need it, then you can download it from https://github.com/NURGALIYESMUKHAMEDOV/Utils/blob/master/CaseSchedule/src/main/resources/wsexception.jar where I found it and used it in my library too.

How to load external data with Flex Mobile?

I have a requirement to build a flex mobile app (iOS/Android) which is capable of downloading data from the web (product animations and associated data).
It needs to handle additional product lines if I add any and cache the data offline (in SQlite I guess).
I think web services is probably the answer but is it possible to load an external library such as SWF or SWC using this method?
Any help is much appreciated as always!
I think web services is probably the answer but is it possible to load
an external library such as SWF or SWC using this method?
If you need to pass data to and from a Flex app then you can use RemoteObject (AMF), WebService (SOAP), or HTTPService (REST). My personal recommendation is to use RemoteObject/AMF whenever possible.
You can load another SWF at runtime using SWFLoader. I'm pretty sure that SWFLoader will not work on iOS as there are clauses in the iOS Developer agreement that you can have code that will interpret other code at runtime or something similar.

C++ Windows Form Application Mysql Connection

I can't seem to figure out how to connect to mysql in my windows form application. I've installed all the proper libraries and have included them, thats not the issue. The issue is I can't find a tutorial on connecting to mysql. I've found some one console applications, tried them, but yet for some reason they do not work. I just need to be sent into the right direction, thanks.
I don't know what library you're using, but I recommend MySQL++. It's simple, has a great manual and lot of examples.