Blog

5 days 15 hours ago

Last week the Google team has finally published the source code of J2CL framework, which has been discussed since 2015. The idea of translating Java to JavaScript is not new at all, and everyone has had a hard time with Google Web Toolkit long before, yet this product was on the watch of the community like no other - it was discussed and became the topic of talks on conferences, but nobody’s seen it.

It’s been more than 3 years since the first announcement and it seems that the product lost its market even before its birth. Today we have Scala.js, Kotlin.js, and JSweet, and, besides, the development is already occupied by TypeScript and there’s no place for Java anymore. For such a long time even most devoted Java guys have lost their faith in “Java for Front end” and learned some JavaScript framework.

But since it is finally released, let’s have a look at the result and for what purposes it can be used.

Continue reading »
3 weeks 4 days ago

Scripting is one of the most popular ways to make your application adjustable for client needs right at runtime. As always, this approach brings not only good, e.g. there is a well-known trade-off between flexibility and manageability. This article is not one of those which theoretically discuss pros and cons, it practically shows different ways of how to adopt scripting and introduces a Spring library that provides convenient scripting infrastructure and useful features.

Continue reading »
4 weeks 1 day ago

HTTP 1.1 is a well-known hypertext protocol for data transfer. HTTP messages are encoded with ISO-8859-1 (which can be nominally considered as an enhanced ASCII version, containing umlauts, diacritic and other characters of West European languages). At the same time, the message body can use another encoding assigned in "Content-Type" header. But what shall we do if we need to assign non-ASCII characters not in the message bodies, but in the header? Probably the most well-known case is setting a filename in "Content-Disposition" header. It seems quite a common task, but its implementation isn’t obvious.

TL;DR: Use the encoding described in RFC 6266 for "Content-Disposition" and transliterate to Latin in other cases.

Continue reading »
1 month 6 days ago

In the developer's life it happens to change one framework to another. The article is exactly about this, it shows the impressions of an experienced RoR developer moving to CUBA Platform. What is similar and what is perpendicular, what is more productive and what is easier to understand - read more in the article!

Continue reading »
2 months 8 hours ago

It’s been half a year since the launch of the Marketplace. Within this period we’ve carried out a number of improvements, such as new components publications and creating of a special forum category. Our community have done its bit for the Marketplace progress, and we expect to keep the same pace of our community and services development.

Continue reading »
2 months 5 days ago

The CUBA WebDAV Addon has been published on the Marketplace! The Addon provides your CUBA application with powerful functionality for collaborative work on documents in various formats. Automated migration from the standard CUBA file storage simplifies adding WebDAV support to existing projects.

Continue reading »
2 months 1 week ago

This text discusses approaches to data validation. What are the common pitfalls that many projects fall into and what are the best practices Java applications should follow.

 

Continue reading »
2 months 2 weeks ago

Up until recently, this training course was part of our commercial content. Now we are releasing it for free to help the whole community use the framework and tools more efficiently.

The course contains 7 videos:

  • Working with data
  • Displaying Charts and Maps
  • Customizing web application look and feel using themes and SCSS rules
  • Reporting
  • Business Process Management
  • Extending Platform Functionality
  • Deployment Options

Combined with already available free webinars, this forms a comprehensive video course, covering all key aspects of CUBA applications development. We hope that you’ll find these videos both a perfect starting point and a source of knowledge on specific aspects of development.

All training and educational videos are available on this web page.

Continue reading »
4 months 1 week ago

There is no secret, that the world of software developers, especially Java developers, is full of keyboard maniacs who’d better type 10-15 letters over one mouse click. And our community is not an exception, therefore we've been frequently asked questions like "How can I start a project without CUBA Studio?" or "Is there light-weight free command line alternative to CUBA Studio?". So, good news everyone!

 

 

 

Continue reading »
4 months 4 weeks ago

As you probably know, Vaadin is one of the most popular web frameworks on Java. Most recently a new release of this framework for web UI development was issued – Vaadin 10.

The creators state Vaadin Flow as a new Java web framework for modern web apps and websites development (I don’t quite believe them here). It’s a part of Vaadin Platform which replaces another product – Vaadin Framework, it enables to develop web apps (and to be more precise, web UI) using Web Components standard on Java.

At this point, everything must have mixed up in a reader’s head, all those Vaadin Bla Bla, framework, platform and so on. What’s going on?

Continue reading »