• Flux News
  • Flux Blogs
  • David
  • Eric
  • Arul
  • Brian
  • Flux Website

Flux Blogs

Statistics: Blogs: 5 Blog Posts: 49   1 2 3 4 Previous Next
Items per page
0

Recent Flux Customer: Internet Broadcasting Systems

0 Comments 0 References Permalink
1

Flux4People: Customized BPM in eric @ flux

Posted by eric 07-May-2008

http://blogs.fluxcorp.com/servlet/JiveServlet/downloadImage/38-1066-1038/flux4people.png

It's neat to see users push the envelope of our software. Flux evaluators often test performance and scalability of Flux to determine if it will satisfy their needs. We've watched the needs of users evolve and have changed the functionality of Flux to meet their needs.

Flux BPM was introduced in Flux 6.5 to allow people to play a part in business processes that are managed via Flux. This feature met the needs of many users and still does today. We see a lot of potential with this functionality and have made plans to help it grow and be more useful to our customers.


We field a lot of new feature and improvement requests for Flux BPM and cannot possibly allocate resources to implement all of the wonderful requests we get. So, we have decided to rewrite Flux BPM in a more usable way. The new Flux BPM will not be integrated into Flux itself, but rather will be supplied as an example that can be customized to meet your needs.


I've been working on this new BPM example (I'm calling it Flux4People) off and on the past week or so. I've taken this opportunity to illustrate how to write a Flux-based application. This example will act as a blueprint to illustrate to new Flux developers how to integrate Flux into their application. Maven, Hibernate, JPA, JAAS, and JSP are some of the major technologies I'm using. I originally implemented the services as JAX-RS RESTful web services using Jersey (https://jersey.dev.java.net/) but then migrated to a simple JSP solution for performance and simplicity.


The Flux4People example will illustrate how to embed the Web-based Workflow Designer, integrate with Flux security, and how to implement custom triggers. I'm putting the final touches on the implementation before handing the Flux4People example over to the graphics team to beautify. Keep an eye on my blog to be notified when the example is ready.


How will the Flux4People example work? It's quite simple actually and works much like Flux BPM. Basically, I've implemented a custom Flux trigger that adds a task to the database. I've also implemented services to list tasks by owner and to work tasks. These services can be invoked by the web application to display a task dashboard to the user and allow the user to work through tasks.


I'll be posting the full example in the next week or so. Let me know if you have any questions or comments in the meantime!

1 Comments 0 References Permalink
0

Flux remoting has always been a performance challenge due to the inherent nature of RMI technology. Accessing a flux engine across the firewall requires network ports to be opened and monitored. There are many pain points using RMI as it is generally resource intensive due to network object serialization. Furthermore, the RMI registry can be difficult to administer at times. Scalability and performance of RMI servers across networks has been a concern in a high-performance distributed computing.

We are capitalizing on the Web and its continued success in various forms. Providing HTTP transport for accessing remote engines across firewalls is a compelling solution for us. This approach provides more freedom to developers as well as network admins.

Beginning with the forthcoming Flux 8.0, we have replaced Flux's use of RMI by an HTTP transport. Developers are no longer required to code against remote exceptions. Flux engine methods previously threw flux.EngineException and java.rmi.RemoteException in their method signatures. Now these same methods just throw flux.EngineException. That's one less exception to handle.

By updating Flux remoting from RMI to an HTTP transport, Flux code is easier to write, understand, and maintain. Furthermore, network administration is simplified.

0 Comments 0 References Permalink
0


A maintenance release for Flux 7.7 is now available and includes one improvement and several bug fixes.

Flux 7.7.3 downloads are available here:
my.fluxcorp.com (for Flux customers)

The latest version of Flux is available from:
www.fluxcorp.com/download (for Flux evaluators)

The following maintenance changes were made in this Flux maintenance release, version 7.7.3.


Improvements:

  1. Added support for loading resources using the listener class loader of a flow chart.

+*Bug Fixes**: An invalid SQL query caused an error to occur when listing repository elements. Fixed.An error could occur when attempting to export a flow chart over an existing flow chart. Fixed.An exception was thrown when using a Process Action in a sub flow chart with an agent pool defined. Fixed.A ClassCastException occurred when exporting a flow chart containing a file criteria pair to the repository or engine. Fixed.The Web-based Designer was unable to load flow charts saved in earlier versions of Flux that contained file triggers or actions. Fixed.Flow charts loaded from the repository were being cached in the Operations Console when using Internet Explorer. Fixed.Regular expression excludes were not working properly when using a UNC file host. Fixed.A NullPointerException occurred when accessing the security page of the Operations Console on an engine configured to use external security. Fixed.A NullPointerException occurred when attempting to access the Web-based Workflow Designer when the Operations Console was connected to a secure engine configured to use external security. Fixed.When one of the execution flows of a split action completed, the entire flow chart was deleted before all other flows finished. Fixed.

0 Comments 0 References Permalink
0

Updated Flux Manual in brian @ flux

Posted by brian 01-May-2008

As part of our effort to keep our documentation fresh and up to date, we have revamped our Flux Manual. Incorporating both the old End Users Manual and the Software Developers Manual, the new Flux Manual includes graphics that mirror the current look and feel of the Flux product.

http://blogs.fluxcorp.com/servlet/JiveServlet/downloadImage/1036/diagram+comparison.png

0 Comments 0 References Permalink
0


A maintenance release for Flux 7.7 is now available and includes two improvements and several bug fixes.

Flux 7.7.2 downloads are available here:
my.fluxcorp.com (for Flux customers)

The latest version of Flux is available from:
www.fluxcorp.com/download (for Flux evaluators)

The following maintenance changes were made in this Flux maintenance release, version 7.7.2.

Improvements:

  1. Added support for designing flow charts that utilize signals in the
    Web-based Designer.
  2. Flow charts names are now case-sensitive in order to reduce database
    deadlocks. WARNING: This could have a negative impact on your application.
    Please test and make appropriate changes.

Bug Fixes:

  1. Database deadlocks could occur when running a heavy load in a clustered
    scenario using DB2, MySQL, or SQL Server 2005 databases. Fixed.
  2. The variable editor would not display correctly after loading a flow chart
    from the repository. Fixed.
  3. A ClassCastException could occur when using a File Exist Trigger after
    upgrading from previous releases. Fixed.
  4. When using the database exception action, verification of the JDBC, or JNDI,
    action properties failed. Fixed.
  5. An EngineException occurred when running the software developer's security
    example. Fixed.
  6. An error was displayed when right clicking on a file action in the Web-based
    Designer. Fixed.
  7. A ClassCastException occurred when editing action variables in the Web-based
    Designer. Fixed.
  8. Process Action properties were not displayed in the Web-based Designer.
    Fixed.
  9. A blank page with the word "error" was displayed when attempting to edit a
    users permissions. Fixed.
  10. A ClassCastException occurred when exporting a flow chart that contained a
    For Each Delimited File Action. Fixed.

0 Comments 0 References Permalink
0

Recent Flux Customer: XYZ Solutions

0 Comments 0 References Permalink
0

Flux has used the HSQL in-memory database since Flux's launch in 2000. It's a nice and easy way to get programming with simple Flux examples in literally five minutes after downloading and installing Flux.

However, as I've talked about before, HSQL has its limitations.

The Derby database is now supported by the forthcoming Flux 8.0. It's a simple, embeddable, well supported database (Apache, Sun) that stores jobs and workflows persistently without using an enterprise class database such as Oracle, DB2, or MySQL.

From a Flux perspective, the only problem with Derby is that it doesn't support an in-memory mode, which can make things fast and simple. Fast, because an in-memory database doesn't hit the disk. Simple, because a fresh in-memory database is created each time a Flux engine is created.

Now enter H2. H2 is the popular successor to HSQL. It overcomes the glaring limitations in HSQL, supports an in-memory mode, and is still fast!

Yesterday I integrated H2 into Flux 8.0. It was easy.

I just ran a simple speed test of loading and firing a simple Java Action job. H2 took about 4.5 seconds. Derby took between 6.5 and 7.5 seconds.

All in all, H2 provides (a) simplicity over Derby since a fresh database is created whenever a Flux engine is created and (b) speed over Derby.

Of course, Derby is still very handy since it provides a robust persistence option. Since Derby is supported by both Apache and Sun, I have more confidence in it for data persistence than H2's persistence mode, which Flux won't be using.

H2 is now the default database in Flux 8.0. Derby is available as an option. Both H2 and Derby will ship embedded with Flux 8.0 so you'll never even have to include their jar files on your class path. Just include flux.jar.

0 Comments 0 References Permalink
0

A maintenance release for Flux 7.4 is now available and includes one improvement and several bug fixes.

Flux 7.4.5 downloads are available here:
my.fluxcorp.com (for Flux customers)

The latest version of Flux is available from:
www.fluxcorp.com/download (for Flux evaluators)

The following maintenance changes were made in this Flux maintenance release, version 7.4.5.

Improvements:

1. Flow charts names are now case-sensitive in order to reduce database
deadlocks. WARNING: This could have a negative impact on your
application. Please test and make appropriate changes.


Bug Fixes:

1. A NullPointerException could occur when attempting to register an
agent with an engine that did not have cluster networking enabled.
Fixed.

2. When using a secure Flux engine, clicking a flow chart in the flow
charts grid of the Operations Console would produce a JavaScript error.
Fixed.

3. Sub flow charts were being displayed as separate flow charts inside the flow charts page of the Operations Console. Fixed.

4. Controls for pausing, stopping, resuming, etc. were not available
for engines in the engines page of the Operations Console on initial
load. Fixed.

5. In the Operations Console flow charts page, flow chart action
buttons were enabled for sub flow chart actions, even though Flux does
not support flow chart actions on sub flow charts. Fixed.

6. The "RESULT.result" flow context variable was case-sensitive when
set as the condition on a customized conditional flow from a Business
Process Trigger. Fixed.

7. Confirming a Business Process Trigger on a stopped engine would result in a NullPointerException. Fixed.

8. In the Operation Console's engines page, a NullPointerException
could occur when viewing multiple engines bound to the same RMI
registry using separate bind names. Fixed.

9. The indicator for the currently executing action in the real time
monitor of the Operations Console failed to stop when the action
stopped execution. Fixed.

10. Select inputs on the Reports page would show through the Report
Details pane of the Operations Console in Internet Explorer 6. Fixed.

11. Pre scripts were only executed once per trigger, instead of once per trigger for each flow context. Fixed.

12. If a sub flow chart failed, the parent flow chart was not able to
be recovered through the Operations Console's flow charts page. Fixed.

13. The Operations Console's flow charts page displayed an unlimited
number of flow charts, causing performance issues. The flow charts page
is now limited to 500. Fixed.

14. The start of run property was dynamically set on the start action
of a flow chart by Flux, even if the end of run action could not be
determined. Fixed.

15. Engine status icons in the engines grid of the Operations Console's
engines page were sometimes displaying incorrect states. Fixed.

16. An IllegalAccessError could occur when clustering was enabled. Fixed.

17. Certain engines were not being displayed on the engines page of the Operations Console. Fixed.

18. The Flux engine could become blocked and cease processing jobs under heavy load. Fixed.

19. When using multiple Simple File Target Criterias with a File Move
Action, the source files would not be moved to all but the first target
criteria. Fixed.

0 Comments 0 References Permalink
0


A maintenance release for Flux 7.6 is now available and includes one improvement and several bug fixes.

Flux 7.6.3 downloads are available here:
my.fluxcorp.com (for Flux customers)

The latest version of Flux is available from:
www.fluxcorp.com/download (for Flux evaluators)

The following maintenance changes were made in this Flux maintenance release, version 7.6.3.


Improvements:

1. Flow charts names are now case-sensitive in order to reduce database
deadlocks. WARNING: This could have a negative impact on your
application. Please test and make appropriate changes.


Bug Fixes:

1. The Flux engine could become blocked and cease processing jobs under heavy load. Fixed.

2. The "filenames" and "url_objects" properties of file action result
objects were cleared before the next action's execution when retrieving
the result object from a file action that contained multiple outgoing
flows. Fixed.

3. An SQLException occurred when scanning the audit trail with an engine configured to use a DB2 database. Fixed.

4. An EngineExcpetion would occur when using the Flux Command Line
Interface's "dispose" argument from the "client" command when the
configured database's driver, of the given properties file, was not
located on the class path. Fixed.

5. The DesignerConfiguration.setPassword() function was not documented in the JSDoc documentation. Fixed.

6. Controls for pausing, stopping, resuming, etc. were not available
for engines in the engines page in the Operations Console on initial
load. Fixed.

7. Confirming a Business Process Trigger on a stopped engine would result in a NullPointerException. Fixed.

8. All engines running in the same JVM logged to the same log file. Fixed.

9. An XML error was displayed to the engine console when using an unsupported XML parser. Fixed.

10. Icons indicating the state of engines in the engines page of the Operations Console were sometimes incorrect. Fixed.

11. A JavaScript error could occur when clicking on a flow chart in the
flow charts page of the Operations Console when using a secure engine.
Fixed.

12. Using a Simple File Target on a File Move or File Copy Action would not work properly. Fixed.

13. JavaScript exceptions occurred when embedding the Web-based Designer as a JavaScript widget. Fixed.

14. The source files were only moved to the first target criteria when
using multiple Simple File Target Criteria with a File Move Action.
Fixed.

15. A NullPointerException could occur when removing a running sub flow chart. Fixed.

16. An error was displayed when right clicking on a file action in the Web-based Designer. Fixed.

17. A ClassCastException occurred when editing action variables in the Web-based Designer. Fixed.

18. Process Action properties were not displayed in the Web-based Designer. Fixed.

0 Comments 0 References Permalink
0

I wonder how this works??? in brian @ flux

Posted by brian 04-Apr-2008

Human nature is human nature but sometimes, it is important to read the instructions.

http://blogs.fluxcorp.com/servlet/JiveServlet/downloadImage/38-1056-1033/electric_discharge+%5BConverted%5D.png

It doesn't matter if you have bought a kitchen table or a video game or software, you just want to put it together and make it work. We understand. Really, we do. Often, once you have assembled the table with three less screws than the product's engineers envisioned or you can't seem to figure out how to putt effectively on your new 2008 Golf game, you are forced to dust off the instructions.

You probably didn't even notice that your Flux download came with a Quick Start guide, did you? That's o.k., you are not alone. Here is a place to get to our quick start guides, user documentation, manual, javadocs and API changes.

Remember, just because you needed to sneak a peek at the instructions doesn't mean that you couldn't figure it out. It means you are being productive! Now, if someone could help me connect my DVD player and stop my digital clock from flashing 12:00, I would appreciate the help.

0 Comments 0 References Permalink
0

Recent Flux Customer: Dexia in Flux News

Posted by brian 01-Apr-2008

Recent Flux Customer: Dexia

0 Comments 0 References Permalink
0

Recent Flux Customer: New Jersey Turnpike Authority

0 Comments 0 References Permalink
0

Recent Flux Customer: EMC Documentum

0 Comments 0 References Permalink
0

Recent Flux Customer: Teradata

0 Comments 0 References Permalink
1 2 3 4 Previous Next