UC Mobile Apps https://uc-mobileapps.com Innovative Software Development, Android Mobile Applications & Developer Tools Sun, 29 Aug 2021 06:15:27 +0000 en-US hourly 1 https://wordpress.org/?v=5.9.3 https://uc-mobileapps.com/wp-content/uploads/2018/07/cropped-UC-Logo-65x65.png UC Mobile Apps https://uc-mobileapps.com 32 32 JPA Bindings for Vaadin https://uc-mobileapps.com/blog/2020/12/06/vaadin-bindings/ Sun, 06 Dec 2020 21:17:52 +0000 https://uc-mobileapps.com/?p=896 Version 1.8 provides bindings for Vaadin Forms and Vaadin Grid.The bindings can be customized for any datatype whether it is a custom model class or a java basic type. The custom code for the checkbox adds a component column in the grid initialization per default whenever a boolean field is displayed. Binding to fields in …

JPA Bindings for Vaadin Read More »

The post JPA Bindings for Vaadin appeared first on UC Mobile Apps.

]]>
Android Persistence Library https://uc-mobileapps.com/blog/2018/03/20/uc-mobile-apps/ Tue, 20 Mar 2018 17:35:12 +0000 https://uc-mobileapps.com/?p=549 Compiler plugin for persistence layer and interprocess communication on Android We provide a source-code generator for the Java and Android eco-system that enhances a given datamodel by database and peer-class functionality without the need of an additional library. This is done by class templates that are transformed to autogenerated code at compile time. The application …

Android Persistence Library Read More »

The post Android Persistence Library appeared first on UC Mobile Apps.

]]>
Default methods aspect oriented programming on JPA entities https://uc-mobileapps.com/blog/2016/04/02/aspects-default-methods-java-jpa-entities/ Sat, 02 Apr 2016 13:25:08 +0000 https://uc-mobileapps.com/?p=527 When working with entity classes it is common not to add additional logic to the objects. This avoids dependencies in the code to keep it modular and maintainable. With default methods it is possible to enhance the entities in a simple way without affecting the original notion of a business object that just keeps the data. …

Default methods aspect oriented programming on JPA entities Read More »

The post Default methods aspect oriented programming on JPA entities appeared first on UC Mobile Apps.

]]>
The right Java bytecode version for Android https://uc-mobileapps.com/blog/2015/12/08/android-unexpted-top-level-exception/ Tue, 08 Dec 2015 14:09:44 +0000 https://uc-mobileapps.com/?p=509 Android up to API level 23 does not support all possibilities of Java 8, the classes that the compiler generates have a version flag to denote which bytecode extensions can be inside of it. If you ever happen to hit an error like this during your build UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: Exception parsing classes         …

The right Java bytecode version for Android Read More »

The post The right Java bytecode version for Android appeared first on UC Mobile Apps.

]]>
Spliterator for “in-between” lambda processing https://uc-mobileapps.com/blog/2015/11/30/differentiating-spliterator-for-lambda-processing/ Mon, 30 Nov 2015 08:29:48 +0000 https://uc-mobileapps.com/?p=493 The usecase of summing up the distances in a list of vectors can benefit from parallelization on todays multi-core systems with Java 8 lambdas using a Spliterator. If one writes vecList.stream().mapToDouble( e-> e.getDistance( b ) Then a reference to the next point “b” isn’t there hence the calculation cannot be performed that way. There is a …

Spliterator for “in-between” lambda processing Read More »

The post Spliterator for “in-between” lambda processing appeared first on UC Mobile Apps.

]]>
Generic interfaces and algorithms https://uc-mobileapps.com/blog/2015/11/27/algorithms-for-generic-interfaces/ Fri, 27 Nov 2015 06:20:17 +0000 https://uc-mobileapps.com/?p=391 A common pattern in object oriented programming is interfacing classes that have the same methods. If these classes encapsulate a datatype and expose  methods that take the datatype as a parameter, generic interfaces. The approach results in the ability to apply a generic algorithm on different encapsulated data types. For example vector math classes have …

Generic interfaces and algorithms Read More »

The post Generic interfaces and algorithms appeared first on UC Mobile Apps.

]]>