Java vs C# ?
-
- New user
- Posts: 2
- Joined: 2020-03-24 23:17
Java vs C# ?
This may sound a very basic question but I am new to hMailserver and planning to write an application which will download the attachment(s) of the email and save it to a folder. I read the documentation to find out that the COM API is exposed via Interop.hMailServer.dll. I also read some posts which talk about consuming this api via Java as well as C#. I need a suggestion to choose a language for my application. My preference is Java but I am not sure if there would be some compatibility issues going forward (as it's a COM API). Can somebody confirm this and help me make an informed decision on choosing the right language ?
Thanks in advance for your help/suggestion.
Thanks in advance for your help/suggestion.
Re: Java vs C# ?
saving an attachment is easy and has been done heaps with VBS
search the script section - there are heaps
search the script section - there are heaps
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: Java vs C# ?
The right language is C#. Java is slow and given the server is written in .net, it only makes sense to use a language that it's already written in.
Re: Java vs C# ?
The Server is written in C/C++ (unmanaged/native)
Only the Client tools like hMailAdmin and DBSetup are written in C# (targeting old .NET 2.0).
Only the Client tools like hMailAdmin and DBSetup are written in C# (targeting old .NET 2.0).
Re: Java vs C# ?
C# does garbage collection simply and efficiently, Java does it in a much more complicated and more automated way, and C++ just.... doesn’t.
SørenR.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
Re: Java vs C# ?
That's funny. Little greta does it in a $4 million yacht. One bit of flotsam at a time.
Re: Java vs C# ?

SørenR.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.
Re: Java vs C# ?
She sure is. No doubt about it. Poor little thing.