kbmMW is a portable, highly scalable, high end application server and
enterprise architecture integration (EAI) development framework for
Win32, ..Net and Linux with clients residing on Win32, .Net, Linux,
Unix, Mainframes, Minis, Embedded and many other places.
It is currently used as the backbone in hundreds of central systems, in
hospitals, courts, private, industries, offshore industry, finance,
telecom, governements, schools, laboratories, rentals, culture
institutions, FDA approved medical devices, military and more.
4.90.00 November 7 2015
Important notes (changes that may break existing code)
======================================================
- Updated TkbmMWOnMessageToSpoke,
TkbmMWOnMessageToSpokeDeliveryFailed,
TkbmMWOnMessageToSpokeDeliverySuccess events to include the
queue.
New stuff
=========
- Added TkbmMWScheduler in new unit kbmMWSceduler.pas (Ent)
for precise and relaxed event scheduling.
System scheduler are available via Scheduler instance.
Check demo for examples of use.
- Added TkbmMWMemSQL which is an extension to the TkbmMemSQL
class (Ent).
It adds syntax for:
- Defining fieldtypes:
SELECT field1 as 'field1->INT'... The field types can be
INT,VARCHAR2(n),VARCHAR(n),CHAR(n),BOOL,
AUTOINC,FLOAT,NUMERIC,REAL,DATETIME,
DATE,TIME,LARGEINT,INT64,BLOB,GRAPHIC,
CLOB,TEXT(n),CURRENCY,WORD,MEMO,WIDEMEMO,GUID
- Operating on XML and JSON data registered with SQL
component:
SELECT owner AS 'someowner->TEXT(3)',bid,quantity AS
'dato->DATE'
FROM auctions
SUBSET '/alliance/auctions/.*'
ORDER BY bid,owner
SELECT XMLAttr(value,'//datas','name') AS
'name->TEXT(20)', value
FROM data TEXT(XML,'<datas
name="hello"><data><value>10</value></data><data><value>20</value></data>>/datas>')
SUBSET '^/datas/data/$'
- Operating on inline XML:
SELECT value
FROM data
TEXT(XML,'<data><value>10</value><value>20</value></data>')
SUBSET '/data/value'
ORDER BY value
- Operating on inline JSON:
SELECT value
FROM data TEXT(JSON,'{"data":[{"value":10},{"value":20}]}')
SUBSET '/data/.*'
ORDER BY value
- Loading data from external CSV (SF_CSV) or
binary (SF_BIN) files:
SELECT [species no], common_name
FROM biolife FILE(SF_CSV,'.\biolife.csv')
ORDER BY common_name
- Loading data from external XML and JSON files:
SELECT owner,bid,quantity
FROM auctionsfile FILE(JSON,'.\auctions.json')
SUBSET '/alliance/auctions/.*'
ORDER BY bid,owner
- Outputting results as binary (SF_BIN), CSV (SF_CSV), XML
(SF_XML) and JSON (SF_JSON) files:
SELECT fld2 AS Field2, fld3, sum(fld5) AS fld5,
Sum(fld2) AS SomeField1, Sum(fld3) AS SomeField2
FROM table1
GROUP BY Field2, fld3
OUTPUT FILE(SF_JSON,'.\output.json','nodef')
- Outputting results as CSV, XML and JSON text string:
SELECT fld2 AS Field2, fld3, sum(fld5) AS fld5,
Sum(fld2) AS SomeField1, Sum(fld3) AS SomeField2
FROM table1
GROUP BY Field2, fld3
OUTPUT TEXT(SF_XML,'nodef')
Output formats supports various options:
- SF_CSV supports: nodef, quote=X, fielddelimiter=X,
recorddelimiter=X, truestring=xxx, falsestring=xxx,
noheader, onlyquotestrings, usedisplayname
- SF_JSON supports: nodef, rowid, datanode, memoasstring,
nonull, bmp, png (not MacOS), jpeg (not MacOS),
rowidname=xxx, dataname=xxx, definitionname=xxx
- SF_XML supports: nodef, rowid, datanode,
datasetname=xxx, rowidname=xxx,
fieldname=xxx, dataname=xxx, definitionname=xxx
- SF_BIN supports: nodef
Check demo for examples of use.
- Added kbmMWSQLXMLAPI.pas, kbmMWSQLJSONAPI.pas units (Ent) to
support above.
- Added XmlNode and XmlAttr in kbmMWSQLXMLFunc.pas for XML
specific functions useful when running SQL on XML documents.
- Added new QoS flag to WIB messages:
KBMMW_TRANSPORT_QOS_CONFIRMED_DELIVERY
If set on a message, the message will need to be acknowledged
by receiver before its committed in senders queue. In
practice receiver bulk acknowledges received messages at an
interval and/or message count.
- Upped subject header version to 4.
Define KBMMW_SUBJECTHEADER_V3_COMPAT
to generate messages compatible with v3.
Notice that QoS must handshake flag require v4.
- Added AOptions:TkbmMWMessageOptions to all message creating
methods/functions when WIB is enabled. Provides access to
defining QoS flags for a message.
- Added InboundRetransmitTotal, OutboundRetransmitTotal,
AutoSetupHandshakeSubscription,
SendEvent, SendPrioritizedEvent, InboundAckHandler,
OutboundAckHandler
to client and server messaging transports.
- Added Flush method to TkbmMWFileStoreMessageQueue to force
write of cached data to file.
- Added TkbmMWWeekDay type to kbmMWDateTime.pas unit.
- Added global function kbmMWXMLDataType2VariantType to
kbmMWXML.pas. Returns variant datatype based on XML datatype.
- Updated Load/Save functions in kbmMWXML to configure to
stream/not stream BOM markers.
- Changed AttribByNameAsDuration in kbmMWXML to return
TkbmMWDuration value instead of TkbmMWDateTime.
- Added kbmMWAddHop, kbmMWExtractLastHop, kbmMWHopCount,
kbmMWPeerID, kbmMWExtractPeerID,
kbmMWGenerateHandshakeSubscriptionSubject,
kbmMWGenerateHandshakeSubject methods to kbmMWSubjectUtils.
- Added CreateResponseMessage, CreateRequestMessage,
CreateServiceCallMessage methods to WIB.
- Added optional ASilent:boolean=false argument to
CommitMessagePop, RollbackMessagePop, RejectMessage
If true, will not raise exception if message do not exist.
Also now returns true or false depending on if operation
suceeded.
- Added OnStats event to TkbmMWServer. Is called whenever there
is a statistics update.
- Added Load/Save methods for file and stream based storage in
TkbmMWXMLAuthorizationStorage.
- Added mwldtWeb to TkbmMWLogDataType.
- Added Enabled:boolean property to IkbmMWLogManager and
implementing classes.
- Added LogWeb method to IkbmMWLog interface and implementing
classes. Logs data in an Apache compatible way.
- Added function FormatWebLogRecord to IkbmMWLog and
implementing classes. It returns an Apacke compatible log
string to be used with LogWeb.
- Extensively updated TkbmMWInterval in kbmMWDateTime.pas unit
to be nullable, compile numeric value that can be compared
with another interval instance's numeric value to test for
which interval is longer, multiple overloaded constructors,
millisecond support, Compare function.
Supports fractional and overrun values for years, months,
days, hours, minutes, seconds and weeks.
- Added TkbmMWInterval as alias to TkbmMWDuration.
- Added Compare and Clear methods to TkbmMWDateTime.
- Added Incxxx methods to TkbmMWDateTime taking fractional and
overrun values.
- Added Null class function to TkbmMWDateTime returning a null
TkbmMWDateTime.
- Added NCSATimeZone and NCSADateTime properties to
TkbmMWDateTime allow for setting and getting Common Log
Format (NSCA) formatted timezone and datetime values.
- Added Clone function to TkbmMWJSONCustomObject.
- Added AddArray and AddObject functions to TkbmMWJSONArray.
Newly created empty object or array will be added to array
and returned for developer to populate.
- Added InsertArray and InsertObject to TkbmMWJSONArray.
- Added AAutoCreateChildren:boolean (default true) argument to
constructor of TkbmMWJSONObject. Controls what happens when
accessing properties AsArray or AsObject when no array or
object is available under the given name. If
AutoCreateChildren is false, nil will be returned or an
exception raised, else new objects/arrays are created
automatically.
- Added option to stream BOM in TkbmMWJSONStreamer.
- Added Load/Save UTF8 file and stream access methods to
TkbmMWJSONStreamer.
- Added FileStoreOptions property to
TkbmMWFileStoreMessageQueue which
controls what happens when queue is closed. Can be
mwfsoDeleteOnClose, mwfsoDeleteOnCloseWh or nothing.
- Added TkbmMWCustomThreadHashList,
TkbmMWHashStringInterfaceList
and TkbmMWThreadHashStringInterfaceList to kbmMWGlobal.pas.
- Added UTF8Decode methods returning boolean if UTF8 string was
invalid to TkbmMWPlatformMarshal.
- Added WriteBOM and ReadBOM to TkbmMWPlatformMarshal.
- Added kbmMWTextToFloat, kbmMWFloatToText, kbmMWStringToText,
kbmMWSearchNonDecimalDigit, kbmMWSafePath to kbmMWGlobal.pas.
- Added OnHandshake event to client and server messaging
transports.
Changes/minor additions
=======================
- Added APostSubject:string='' argument to all message
producing methods/functions to allow postfixing additional
data to the standard subjects like REQ/RES etc. to allow for
easier custom receiving end filtering based on custom data.
- Added AClosing:boolean = true argument to Flush method of
TkbmMWBufferedFileStream.
If true (default) flush is expected to optionally (on
Windows) truncate file to the actual size it has, not the
sector based size. Call with closing false to just flush the
cache to the file.
- Added GetMimeTypeExt(const AExt:string):string and
GetCharSetExt(const AExt:string):string to
kbmMWCustomHTTPService.pas. Allows for providing a file
extension (including dot) instead of a file path.
- Improved FastCGI communication with FastCGI server to more
reliably detect environment header.
- Changed so SubjectHeader.Hops always initially includes
sender.
- Changed TkbmMWAuthorizationUTCTimeConstraint to use
TkbmMWWeekDay for week day constraints.
- Updated timezone list in kbmMWDateTime.
- Updated TkbmMWOnMessageToSpoke,
TkbmMWOnMessageToSpokeDeliveryFailed,
TkbmMWOnMessageToSpokeDeliverySuccess events to include the
queue.
Fixes
=====
- Fixed leak of TkbmMWInnerThread on shutdown.
- Fixed thread pool bugs.
- Fixed Remote Desktop compilation issues in pre XE6.
- Fixed FIB compilation issues.
- Fixed UniDAC compilation issues and missing Options property.
- Fixed so a response message has same QoS as the request
message.
- Fixed TkbmMWAuthorizationLogin.Touch to touch using UTC, not
local time, which would result in actor being timed
incorrectly out.
- Fixed leak of TFileStream/TkbmMWBufferedFileStream in
kbmMWDebugTdsFile.pas and kbmMWDebugMapFile.pas when loading
of TDS/MAP file excepted (for example by being in use by the
Delphi debugger when running app in debug mode).
- Fixed StreamSec TLS plugin compilation.
- Fixed bugs in
TkbmMWHTTPTransportStreamHelper.HTTPBuildCustomResponseHeader.
- Fixed bugs in SQLite adapter
KBMMW 4.90.00 发布的更多相关文章
-
kbmmw 5.05.00 发布
新年前最后几天,kbmmw 发布了新版本,增加一大波功能.we are happy to announce v5.05.50 of our popular middleware for Delphi ...
-
KbmMW 4.30.00 发布
今天早上,KbmMW发布了4.30.00 版,这个版本开始支持XE4 的WIN/WIN64/OSX. 暂时不支持ios开发,同时加强了通过JSON 的对象序列化.还有就是解决了我提交的几个有关 汉字处 ...
-
KBMMW 4.92.00 发布
We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW c ...
-
KBMMW 4.84.00 发布
kbmMW is a portable, highly scalable, high end application server and enterprise architecture integr ...
-
KBMMW 4.83.00 发布
新版本又来了,端午节都不让大家过好:) 这次终于支持ios 64了,不用我再手工改了. Components4Developers is a company established in 1999 w ...
-
KBMMW 4.82.00 发布
作者最近加紧了更新进度,赞一个. 时间都去哪儿了? 还没好好看4.81, 新版就来了. 这个版本主要是增强日志管理,已经强大到替换delphi 本身的异常处理了. We are happy to an ...
-
KBMMW 4.80.00 发布
一大波更新来了. 4.80.00 March 30 2015 Important notes (changes that may break existing code) ======= ...
-
KBMMW 4.70.00 发布
We are happy to announce the release of kbmMW v. 4.70.00 Professional and Enterprise Edition. kbmMW ...
-
kbmmw 5.10.00 发布
We are happy to announce v5.10.00 of the most complete development add on for Delphi and C++Builder ...
随机推荐
-
基础复习 关于JS
1,js是一门解释型语言,无需编译,编写js要知道当前对象有什么成员,未必所有成员都能点出来. 2,js大小写敏感,严格区分大小写. 3,弱类型语言,声明用var,字符串推荐使用单引号. 4,==要先 ...
-
AngularJS的ng-click传参
<ul id="dataSet" ng-repeat="item in infos" ng-model="dataSet"> & ...
-
jquery插件之拖拽
该插件乃本博客作者所写,目的在于提升作者的js能力,也给一些js菜鸟在使用插件时提供一些便利,老鸟就悠然地飞过吧. 此插件旨在实现目前较为流行的拖拽效果,您可以根据自己的实际需求来设置被拖拽元素是否可 ...
-
scala - Enumeration 诡异问题
object WeekDay extends Enumeration { type WeekDay = Value val Mon, Tue, Wed, Thu, Fri, Sat, Sun = Va ...
-
学习windows内核书籍推荐 ----------转自http://tieshow.iteye.com/blog/1565926
虽然,多年java,正在java,看样子还得继续java.(IT小城,还是整java随意点)应用程序 运行于操作系统之上, 晓操作系统,方更晓应用程序. 主看windows,因为可玩性高,闭源才 ...
-
夺命雷公狗ThinkPHP项目之----企业网站7之栏目的修改(主要用模型来验证字段)
我们照老,在控制器里面先查出我们所需要用到的数据: 然后直接遍历到模版上即可: 然后再开始写提交过来的数据处理问题(注意一定要接收修改页面通过隐藏域)而且我们刚才已经写好我们的model层了,所以直接 ...
-
[C++程序设计]函数的递归调用
在调用一个函数的过程中又出现直接或间接地调用 该函数本身,称为函数的递归(recursive)调用. 包含递归调用的函数称为递归函数. 在实现递归时,在时间和空间上的开销比较大 求n! #includ ...
-
HTML+CSS笔记 CSS中级 一些小技巧
水平居中 行内元素的水平居中 </a></li> <li><a href="#">2</a></li> &l ...
-
实用的Docker入门
1 Docker概述 Docker和虚拟机一样,都拥有环境隔离的能力,但它比虚拟机更加轻量级,可以使资源更大化地得到应用.首先来看Docker的架构图: 理解其中几个概念: Client(Docker ...
-
使用miniconda创建python虚拟环境
安装python指定环境 conda create -n oldboy python=3.6.5 安装环境的同时安装相应的包 conda create -n oldboy python=3.6.5 p ...