Posts tagged Data service
A data service provider?
Dec 27th
Generally, I grow up with the social that told me, “If I have to do my own web-site I have to do my application server, database server, deployment, and maintenance with yourself”. Thank you for the hosting provider, they save a lot of time for us. Currently, it’s time for Cloud computing provider which is taking the development more easier. The developer can focus on their development instead of doing server environment with themselves.
But I have to think about this again. In the field of Adobe, they have many good products which available to combine into a good data service provider. This data service will act similar to Aptana cloud service provider which allows any developer to deploy the product by using their IDE. So this is about Flex, AIR, and Flash Platform. Just think about the client developer doesn’t need to take care too much on the back-end implementation. They just need to release their creativity to the work and the data will be take care by the professional.
Just my idea. I know you or someone around you have the power to do this.
Array to WebOrb’s Java
Feb 28th
For this week, my project has moved into final phase. I have found that if you want to send pure Flex’s Array to Java’s server site through WebOrb data service (it’s free for all! but some great feature such as Security and Data-push only available for paid version) You must declare the public attribute type ( a collection one ) to be plain array.
like here,
Java class destination
public class JavaToken{
public SimpleClassBean[] collection;
}
Flex’s class initialize
public class FlexToken{
public collection : Array;
}
With these implementation, Weborb will serialize flex’s array attribute to Java’s destination.
In Thai
สัปดาห์นี้ เป็นช่วงเวลาที่ โปรเจคผมเริ่มเข้าสู่ เส้นตาย เอ้ย ช่วงสุดท้ายแล้วครับ ( จริงๆ แล้วเหลืออีก อาทิตย์หนึ่ง แห่ะๆ) วันนี้ผมได้ค้นพบว่า สำหรับผู้ใช้ WebOrb for Java อาจจะไม่แน่ใจเรื่องการส่ง type array เข้าไปฝั่ง server วันนี้ได้ข้อกระจ่างครับ คือให้ทำการประกาศ class ฝั่ง server ให้ attribute array ดังกล่าวเป็น plain array ครับ (ดังตัวอย่างด้านบน) ซึ่ง Weborb จะทำการ pass ไปให้อย่างไม่มีข้อผิดพลาด
PS. เสาร์ที่ 2 กุมภา นี้ เจอกัน ที่งาน Flex seminar โดย Double-i Studio นะครับ (อยากได้เสื้อง่ะ แงๆ)
Array to WebOrb’s Java
Feb 28th
For this week, my project has moved into final phase. I have found that if you want to send pure Flex’s Array to Java’s server site through WebOrb data service (it’s free for all! but some great feature such as Security and Data-push only available for paid version) You must declare the public attribute type ( a collection one ) to be plain array.
like here,
Java class destination
public class JavaToken{
public SimpleClassBean[] collection;
}
Flex’s class initialize
public class FlexToken{
public collection : Array;
}
With these implementation, Weborb will serialize flex’s array attribute to Java’s destination.
In Thai
สัปดาห์นี้ เป็นช่วงเวลาที่ โปรเจคผมเริ่มเข้าสู่ เส้นตาย เอ้ย ช่วงสุดท้ายแล้วครับ ( จริงๆ แล้วเหลืออีก อาทิตย์หนึ่ง แห่ะๆ) วันนี้ผมได้ค้นพบว่า สำหรับผู้ใช้ WebOrb for Java อาจจะไม่แน่ใจเรื่องการส่ง type array เข้าไปฝั่ง server วันนี้ได้ข้อกระจ่างครับ คือให้ทำการประกาศ class ฝั่ง server ให้ attribute array ดังกล่าวเป็น plain array ครับ (ดังตัวอย่างด้านบน) ซึ่ง Weborb จะทำการ pass ไปให้อย่างไม่มีข้อผิดพลาด
PS. เสาร์ที่ 2 กุมภา นี้ เจอกัน ที่งาน Flex seminar โดย Double-i Studio นะครับ (อยากได้เสื้อง่ะ แงๆ)


