The NJProcess table stores the states of NexJ processes that occur periodically. The current state of a process also displays in the Process page in Admin Console. In NexJ Studio, you can create a batch job that will periodically clean up old processes. This paper provides details on how to create this batch job. PDF … Read more
I’ve recently updated my machine and am running monitors in pretty high res.  If you are reading this in a year or two you will likely yawn, but for today 3,840 x 2160 is pretty high. NexJ Studio (Eclipse) renders icons and menus too small to be usable in this resolution.  To fix this, do the … Read more
This article provides a quick reference guide for learning Scheme and commonly used expressions. The target audience is for new NexJ developers who have previous programming experience. Please refer to the Introduction to Scheme course for more in-depth discussion. Also, within NexJ Studio, you can mouse-over each function for details. Primitives Description Scheme example Java … Read more
The NexJ object model provides a set of tools for modelling proxy classes. A proxy class is defined as: The proxy design pattern allows you to provide an interface to other objects by creating a wrapper class as the proxy. The wrapper class, which is the proxy, can add additional functionality to the object of interest without changing the object’s code. In … Read more
Mixins allow you to add functionality to your project as an independent model. A mixin is a standalone project, but, when it is added to your working model as a mixin, all of its component files can be referenced and used within your model. When developing your own projects, mixins are a good way to … Read more
Read limits determine the number of instances that can be returned during a read() call. By default, the read limit is 4096 instances. Each data source can be configured to have its own limit. NexJ recommends that you do not change the limit unless you have a good reason to change it. You can change … Read more
In this article, I’ll provide details on the ins and outs of our console logger. It is an except from some upcoming intermediate training material. We will discuss some key concepts, instrumenting your code, setting log levels, and some advanced output options. Key Concepts Standard logging provides visibility into the activities of the running system … Read more
The pre-commit function is a server scoped function that flushes the instances in the current transaction to the persistence layer and locks them to the current transaction. If another transaction tries to read this resource, it either reads stale data or is denied access. Difference between commit and pre-commit functions The pre-commit function flushes a … Read more