EASC

EASC and enums

at 2009-01-28 in EASC by friebe

Quite a while ago, we showed a workaround on how to work with enum types and the Remote API. A bit later, there was RFC #0132 which added real enum types to the XP Framework, but support for them in EASC was forgotten. This oversight has now been resolved.


(more)

RFC #0132: Enum support

at 2007-07-06 in EASCRFCs by friebe

Scope of Change
There will be a defined way to write enums.

Rationale
Interaction with programming languages with enums, via EASC, for example.

Read the full RFC here



EASC and enum types

at 2007-07-05 in EASC by friebe

While developing a client for a stateless session bean deployed on an enabled application server for a corporate project, I stumbled upon the need to pass a Java 5 enum. It was part of the signature of a remote method which was something along the lines of:
public CaseId createCase(FaxId faxId, Provider provider, String url);

The Provider is an enumeration type, declared as follows:
public enum Provider { FAXTOOL, ORDERING, TELECOM }

Because PHP does not support enums, we will have to find a workaround.


(more)

EASC.NET

at 2007-03-30 in EASC by friebe

Following the Perl EASC implementation, I started developing a .NET implementation of the EASC protocol using the C# programming language. Its sourcecode is available at http://experiments.xp-framework.net/?arena,easc-csharp .

Update (2007-04-01): Fixed the last couple of outstanding issues and now have the first working implementation:


.NET EASC client in a Cygwin Shell, remotely invoking a unittest in Peking



Perl EASC implementation

at 2007-03-13 in EASCExperiments by friebe

Besides XP4 and XP5, we're trying to get more languages to implement the EASC protocol. Yesterday, I committed a Perl implementation originally written by Marc to the XP SVN repository, testing and fixing bugs while doing so.

The experiment is available here:
http://experiments.xp-framework.net/?arena,easc-perl



RFC #0110: RemoteStackTraceElement

at 2007-02-28 in RFCsEASC by friebe

Scope of Change
Stack trace elements representing stack frames on the remote side will be mapped to RemoteStackTraceElement objects instead of StackTraceElements.

Rationale

  • Ability to distinguish between local stack frames and remote stack frames.
  • Get rid of "php." prefix (e.g., in "php.java.lang.reflect.Method")

Read the full RFC here



RFC #0076: Transfer exception causes

at 2006-09-22 in EASCRFCs by friebe

Scope of Change
An exception's cause will be transferred via EASC to the client.

Rationale
The remote.InvocationException's stacktrace is not really helpful in finding what may have caused a serverside exception.

Read the full RFC here



RFC #0062: HA-JNDI

at 2006-06-30 in EASCRFCs by friebe

Scope of Change
The ability to pass a list of servers to the Remote API will be added.

Rationale
Load balancing and failover.

Read the full RFC here



Support for readResolve()

at 2006-05-03 in EASC by friebe

The EASC's Java deserializer now supports correctly objects that have a readResolve() method. See Java Object Serialization Specification: 3.7 The readResolve Method for details.


(more)

EASC API moved

at 2006-02-14 in EASC by friebe

The EASC API was moved in SVN from experiments/arena/easc to ext/java/easc. EASC has been in productive use for a couple of weeks here at Schlund+Partner and has proven to work.



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES