Java ME libraries - java-me

Java ME is quite sparse on features. Are there any libraries you use to add missing features?
I don't want to focus on UI libraries - these are better discussed here. I am aware of that there exists JSRs with optional features.

For various crypto functions, The Legion of the Bouncy Castle Lightweight API for J2ME.

There is some useful stuff at j4me.org.

Java ME was intentionally designed to be based on JDK 1.3, so yes it is quite old and sparse. But a lot of handset manufacturers (like Nokia) have their custom API that provide some valuable functionality.
There are ways to provide support to more standard Java like features like enums by using tools like Retroweaver, which allow us to compile them with Java ME.
I have also heard that J2ME Polish like frameworks have custom implementations that are more sophisticated. Hope this helps.

The Microlog logging library is a quite handy library for logging:
http://microlog.microsuite.org/

Related

Haxe for enterprise application development

Is there anything available for Haxe which would be suitable for real-life enterprise application development? (i.e. A professional high level UI component framework.)
Just a note - I know we all love our tools of choice, but please try to keep it objective.. don't just recommend Haxe for something without thinking about whether it's really an effective tool for business requirements.
On one hand, as Jason suggested in his comment, there is missing a haxe-based native UI framework.
On the other hand, we don't really need a haxe-based UI framework, but using the UI framework available to the target platform is enough. Unlike building a library, which is better to be target independent, building a "real-life enterprise application" only requires targeting a specific platform. Since UI is highly dependent on the target platform, it means that we should use a target-specific UI framework. For example, the best UI solutions to an web app are probably jQuery, ReactJS, AngularJS etc., which all can be used in Haxe (jQueryExtern, react.hx, angular.haxe). For Flash/Java/C#, we can simply use any "native" libs by -swf-lib path/to/lib.swc, -java-lib path/to/lib.jar, and -net-lib path/to/lib.dll. For C++, however, although there is continuous improvement (watch the wwx2014 talk), it is still somewhat hard to use native libs.
We are making games in haxe + OpenFL + StablexUI. Not sure if it suitable to post their urls, so that you could see the quality. But it helps if you need your custom ui not native (iOS, Android).

Difference between P4.net and P4api.net

What is the exact difference between p4.net and p4api.net?
I was trying to create a custom gui based tool for perforce and I started developing it using p4api.net. Much later I came to know about the existence of p4.net. Now I am confused with their difference and the purpose.
Also I have a doubt on which option to choose for the development.
Is there something else other than these two?
P4API.NET is the supported API for .NET applications, so I'd go with that. You can see a list of the officially released APIs for the various languages here.

How well would MvvmCross and CSLA.net work together in a multi-platform strategy (ASP.NET MVC, WP, WPF, WinRT, Win8, Android, iOS)

Long time lurker, first time questioner here :)
I have been looking into our company's next software system architecture. We have been using CSLA.net, to some extent, as our business object framework and are thinking of building our new architecture around it. CSLA.net has support for the platforms mentioned in the title and we are looking for mvvm framework that would work well with it.
At the moment we only support windows environments but are also looking to support at least Android and iOS (also mono in general is under consideration). We are looking to share as much of the code as possible between the platforms and MvvmCross seems like really nice piece of mvvm (+) framework, especially in that context. I have watched few n+1 videos and what I have seen so far has been very impressive. I also like the Stuart's style of introducing the framework and concepts around it.
Has anyone tried to build a cross platform application that uses both of these frameworks (CSLA.net and MvvmCross)? If yes, what have been your experiences like? Also if Stuart could comment on the issue of how to merg the viewmodels of the two frameworks. I remember Rocky (Rockford Lhotka) recommending, as a general tip when working with mvvm frameworks, to inherit CSLA.net viewmodelbase(not viewmodel) and implement also mvvm framework's requirements into that class. You can find source of the viewmodelbase from https://github.com/MarimerLLC/csla/blob/master/Source/Csla.Xaml/ViewModelBase.cs.
Any input would be much appreciated.
Regards,
Harri
ps. I think, that this would make a great n+ video. Wouldn't it ;)
I've personally never used CSLA, but I have talked with it's original author, Rocky, both by email and in person.
CSLA presents itself as a business model object layer and that it can very successfully interoperate with independent Mvvm frameworks - see Rocky's post on CSLA+Mvvm
MvvmCross provides the more application and UI level support - and leaves application authors free to choose how they write their business services and models.
Because of this, yes I think it should be possible and even straight-forward to use both of the frameworks together if you want to. To get started, it might be useful to write some prototypes - and perhaps to look at the way other integration has been done - e.g. CSLA+Caliburn integration
ps. I think, that this would make a great n+ video.
I'd much rather see this type of article from someone who understands and uses CSLA. I would encourage all members of the MvvmCross community to contribute their own blog posts, articles, videos and github samples.
One caveat to this advice: I don't know if CSLA support Portable Class Libraries - if it doesn't then you'll probably need to use file-linking rather than PCLs in your app
Yes, you can use a multitude of MVVM frameworks; I've used CaliburnMicro and our own custom MVVM with success. If you haven't checked out Rocky's eBook series, you should definitely do so. One of the big gotchas is the limitations on reflection in Silverlight, hence also in WP8 and WinRT, so some reading up on that is well-advised.
Regarding Portable Class Libraries, you can't those for CSLA business objects (they require more stuff than is available in PCLs), so you do have to do the project linking. Typically, write the complete class in the .NET libary w/ pre-compiler directives, such as
#if !SILVERLIGHT
around code that can't be complied for Silverlight/WP8. I do use PCLs for some basic stuff, like enums and constants, but not for the business classes.
Xamarin have just released some updates that mean the latest framework 4.5 with async features can shortly be implemented...

OpenCMIS supported ECM

We are planning to develop an application that can work with any ECM systems. SO we planned to use CMIS.
As our application is in Java, I came across openCMIS. It seemed all useful.
But now I need to know, which all repositories are tested/supported with openCMIS?
OpenCmis will be really helpful for many ecm systems but it is not a one common answer for all of them.
For example, for IBM CM or Filenet there is IBM CMIS which comes bundled with Content Navigator. Please note this is also lacking some basic functionalities and i developed that just recently. (on the latest version)
I would recommend to build the java application using the most relevant CMIS apis you need and for the closest specific ECM product.If you want to build it in a way which works on all ECM platforms then the coding needs to be in different way.
like - identify which ecm system is being called by your java program
and then load the classes or functions for that specific system.
Hope the above helps :)
This page lists CMIS servers:
http://en.wikipedia.org/wiki/Content_Management_Interoperability_Services
OpenCMIS is one the mostly used CMIS libraries, and I would say it is the most-tested CMIS library you can find.
I have not seen any "official supported list", but OpenCMIS at least works for Alfresco, IBM FileNet, NemakiWare, and most CMIS servers I have tried. A notable exception seems to be IBM Connections, because of a IBM Connections bug.

Strongly-typed languages for web programming

Are there any strongly-typed programming languages for the Web? I program in PHP now, but often I wish it yelled at me when I tried to compare a number to a string. Functions in the standard library that can return either a bool or an integer don't make anything easier either.
I know there's .NET, but is it my only choice?
You can develop Java web-applications. See JSPs.
Java? C++? Any language can be a web language... More details on your requirements would be needed to make a specific recommendation.
Python is a powerful, and popular dynamic strong typed language for web development:
PyWeb
Django
Pylons
Wt is a good C++ web framework
Python is strongly-typed, and widely used for web.
You can use Java for web development. You would then need Tomcat or another Servlet Container that supports the deployment of Java Servlets and JSPs.
Best wishes,
Fabian
There is an OCaml web programming framework, and OCaml is strongly and statically typed if that's what you are looking for.
I just came across Lift - a framework for web development using Scala.
Wt is a web development framework for C++.
Seaside is a web-framework for Smalltalk.

Resources