RIA Developer Summit in Bangalore. Register early and get discount

August 29, 2008

RIA Developer summit logo

About the event

After the successful RIA Leadership Summit and RIA Architect Summit, Adobe brings to you – RIA Developer Summit which is focused on developers. Adobe RIA Developer Summit offers a unique opportunity to designers and developers to gain insights into the design and development of RIAs. They are giving Flex Builder License for FREE of cost to attendees … 🙂

This is a great opportunity for developers. Event is on September 10th and 11th in Bangalore.  They have 2 tracks, one track is targeting the beginners in Flex and second track is targeting the developers who have been developing Flex and want to learn more.

You can find more details about the event and register at this URL:

http://www.endtoend.in/ete2008/adobe/ria/micro/

About the discount 🙂

You can get discounts in the price in two ways, one is to register before September 3rd and get discount. Second is to register in groups. You can find price details in the table below

Registration Type
Early Bird Rate Per Delegate

( Before 3rd September)

Regular Rate Per Delegate

( After 3rd September)

Individual
Rs.4500.
Rs.5000
2-5 delegates
Rs.4000
Rs.4500
6-9 delegates
Rs.3500
Rs.4000
10-14 delegates
Rs.3000
Rs 3500
15 and more delegates
Rs.2500
Rs.3000

Group discounts have a rule saying all developers in the group should be from the same company. If you cannot get many people from you company, you need not worry you can still get the group discounts.

We have worked with the registration desk, so that even a community or group of individual developers can get group discounts for the event. Here’s what you need to do:

  1. Make sure that all your group members register into the event website
  2. One person take the responsibility of being a group leader/ coordinator (can be a user group manager for instance) and make a DD for the total amount for all the people after discount. Say you and 9 of your friends are signing up for a group discount, make sure that you send only one DD for the amount, in this case, for 3000×10 = Rs.30,000. Please not that if you are opting for the group discount, it has to be in one DD!
  3. Mail the DD to the address on the page
  4. Also, send a mail out to adobe@endtoend.in and quote the community promo code “sujitreddyg” in the subject and have the following info from each delegate in the body of the email:
    • Name,Company & Email  of each delegate
    • DD Details

Sign up fast. Network with fellow Flex developers to rialiaze your dreams and save money of course 🙂

Meet you guys at the conference …..

Advertisements

Adobe Flex Developer Event (Free Flex Builder License for attendees)

August 26, 2008

The developer event is going to be next month in Bangalore (India). This will be a 2 day event with tracks for Beginner and Intermediate/Expert Flex developers. Stay tuned for more updates…

If you are interested in getting updates on the event, leave your Email and Name at this URL

http://raghunathrao.com/announcements/events/EmailCollector.html

Come join the RIA world 🙂


Sending messages from Java to BlazeDS destinations using MessageBroker

August 14, 2008

We discussed BlazeDS/LCDS messaging samples in which we produce messages from a Flex application and consume that message from another or same Flex application. BlazeDS/LCDS also allows us to publish messages to messaging destinations from a Java class on the server.

As BlazeDS/LCDS allows us to publish messages from a Java class on server, we can build a JSP/Servlet which will invoke this Java class and publish messages to BlazeDS/LCDS messaging destination. We can establish messaging between and Flex and Non-Flex client.

I created a simple sample in which I am sending messages from a JSP page to a Flex client. This is so simple. All you need to do is to create a Java class with one method in it and a JSP which will invoke this Java class. You will also create Flex application which will subscribe to the destination to which we will publish messages from our Java class.

Let’s start coding:)

First we will create the Java class which will publish the message.

MessageSender.java

We have only one method in this class called sendMessageToClients. In this method we will create a message of the type AsyncMessage and publish that message using MessageBroker. AsyncMessage and MessageBroker class are available with BlazeDS in the flex-messaging-core.jar. You should be adding this jar to your project libraries to compile this class. Download the Java file compile it and deploy it in WEB-INF/classes folder of your web application.

Download this Java file from this URL: http://sujitreddy.g.googlepages.com/MessageSender.java

public void sendMessageToClients(String messageBody)

{

AsyncMessage msg = new AsyncMessage();

msg.setClientId(“Java-Based-Producer-For-Messaging”);

msg.setTimestamp(new Date().getTime());

//you can create a unique id

msg.setMessageId(“Java-Based-Producer-For-Messaging-ID”);

//destination to which the message is to be sent

msg.setDestination(“TestingDestination”);

//set message body

msg.setBody(messageBody != null?messageBody:””);

//set message header

msg.setHeader(“sender”, “From the server”);

//send message to destination

MessageBroker.getMessageBroker(null).routeMessageToService(msg, null);

}

sendmessage.jsp

Download the JSP from this URL: http://sujitreddy.g.googlepages.com/sendmessage.jsp

In this JSP file we will just invoke the Java class created above.

MessageFromServerSample.mxml

In this MXML file we will be subscribing to the destination and also act as a producer for the same destination. You can find more details on messaging in Flex at this URL https://sujitreddyg.wordpress.com/2008/01/17/messaging-using-flex-and-blaze-ds/

Download this MXML file from this URL: http://sujitreddy.g.googlepages.com/MessageFromServerSample.mxml

messaging-config.xml

This is file in which we will configure our destination to which we are publishing messages and subscribing to get messages.  Just add the XML tag below as a child to <service> tag in messaging-config.xml file in your BlazeDS configured web application under Web-INF/flex folder. Please make sure you have default channel set in the messaging-config.xml.

<destination id=”TestingDestination”>

</destination>

That is all you need to do. Run the Flex application and then try some text and see if you are receiving the messages as the Flex application is acting as both producer and consumer for the same destination. If you are receiving the messages send by you, which means the messaging destination is configured properly. Now just launch the sendmessage.jsp page from the browser, you should be able to see the message sent from the Java class in the Flex client.

That’s it:) Adobe Rocks 🙂


Video tutorials to learn Flex in a week

August 1, 2008

You can learn Flex in a week (actually less than that :)) by going through amazing videos created by Adobe. They also created exercises, in which they explained step by step on how to create the applications. Also .. a forum named Flex in a Week is created, for users to get their doubts in the tutorials clarified.

Do we need more ??? Learning Flex is made easier. Please check out the tutorials at the URL below.

http://www.adobe.com/devnet/flex/videotraining/

Come join the RICH world 🙂 🙂