Sun Bloggers (blogs.sun.com) has great Ajax news, photos, videos and more
An open source toolkit that converts the .NET code to JavaScript. The idea for the this was driven by the Google Web Toolkit (GWT) which lets Java developers translate their apps into JavaScript. Demo was deployed on Mono and the tool converted a .Net app built in C# into JavaScript. An app then c...
Three steps to an XML editor from scratch without your needing to do any coding at all: Run the application, open the Favorites window (Window | Favorites), find your XML file, double-click it, and then it opens in the XML editor. And here's your XML editor:
With the upcoming release of OpenSSO Express 9, REST interfaces in the form of URLs have been developed to evaluate policies and return decisions from the Entitlements Service. All of the policy evaluation interfaces support HTTP GET and POST actions, and some of them return JavaScript...
There are RESTful management interfaces that can be used to get, add and remove listeners which send notifications to the Entitlements Service when privileges are added, removed, or modified. The listener management interfaces support HTTP GET, DELETE, and POST actions, and returns...
Developing Draggable Applets – a new topic describing how to create an applet that can be dragged outside of a browser and dynamically converted into a Java Web Start application. Sending Messages to Other Applets has been rewritten. Deploying Without the Codebase Attribute – a new secti...
Note: The line in bold above is a JSP page where the data will be sent to, from the page above. The page above will be displayed within a dialog, later in these instructions. Now, let's start the UI gesture server! Type this on the command line: hg clone http://hg.netbeans.org/main/misc You sho...
Episode Overview Deep Dive: Java EE 6 and the GlassFish v3 With Arun Gupta Recently, Sun announced the general availability of Java Platform, Enterprise Edition (Java EE) 6 and GlassFish v3. Java Platform, Enterprise Edition (Java EE) is the industry-standard platform for building en...
At a first glance Ajax may be an obvious technology to combine with such a cache. But please be aware that moving application logic away from the server-side application to the client side is always a very dangerous task, which easily may compromise the security of your application.
We must set up our own playground at the begining. We will use box (test.server) which will have a one physical NIC connected to internet. We will create a zone, which will run web server. Our task is to make web server accessible from outside, so anyone on internet accessing link http://test.se...
Regular Directives The regular directives all specify object-related information. They all share a common underlying abstract syntax, based on the idea of name-value pairs, and the use of {} brackets for grouping, and to express sub-attributes. The following things are different:
In 2008, I was elected to DOM (the successor to DIEM) for a three year term. At last night's monthly DOM meeting, I was pleased to get slightly updated versions of the process documents DIEM created in 2005 while I was Convener. DOM and its nine remaining missions is now managed by our new Bisho...
File Control Directives (-): Specify which versions can be used from sharable object dependencies shared_object_name - version_name [version_name ...]; where version_name is the name of versions found within the shared object.
Somewhere in the code.... // We need to get the new address of the endpoint. // The only important point here, it has to be acquired dynamically. public static String testAddress = System.getProperty("service.address"); B. Modifying the Method
In the noughties, I was privileged to be able to visit the following countries: Ireland, China, Finland, Sweden, Denmark, Latvia, Portugal, France, Brazil, The Netherlands, Belgium, Germany, Italy, USA. I loved visiting all of these countries and tasting the culture, but my favourit...
LodgON uses Java end-to-end in its application development, and Johan said he has found using JavaFX to be critical to both the front-end and the back-end development. As he stated, “In social networking software, the interactions between users are very important; they provide part of...
We just held a mini Java customer day and I put the slides here (slightly different from VTC Java Cert Nite): Mickey Fan - No Change and same as VTC Java Cert Nite. Click here. Ivan Ma - Why is my Java Application is so slow? Click here. Victor Chiu - Pick Your java Framework. Click here
NetBeans and Eclipse tooling for Java EE 6 using GlassFish v3GlassFish v3 Administration and REST interfaceRuby on Rails, Groovy and Grails, Python and Django deployment on GlassFish v3Develop / Deploy / Debug Rails application using NetBeans and GlassFish v3GlassFish Gem for Rail...
3] Cache in between of web and application server Let's move the cache one level down the stack in between web server and application server. On the fist sight this may look like a very good idea, because the cache now protects the application server. But on the second sight you'll realize tha...
Sun brews up Java EE 6 - GlassFish server, NetBeans IDE drink it - Nice writeup that includes a mention of the On-line Virtual Conference on Tuesday.GlassFish v3 and Java EE 6 Released - Eduardo wrote up a summary on The Server Side and the comments are flying.Sun updates Java, GlassFish and N...
Track 4: Hands-on Labs In this track, developers participate in hands-on development with sessions on Rich Internet Application (RIA) development, JavaFX, REST, Java Persistence API, NetBeans IDE, OpenSolaris, ZFS, DTrace, MySQL and other technologies.
} } catch(Exception e) { e.printStackTrace(); } } } to use the client, just build and deploy cd webclient mvn install asadmin deploy target/webclient.war and access the page at http://localhost:8080/webclient/hello As you can see, I reuse the same @Resourc...
Robust support for Rails, Merb, Sinatra work out of the box.Full Rack complianceRun any Rackup script to hook in any Rack based frameworkAdministration and Monitoring using asadmin CLI or Admin console See how would you go about monitoring and administration of Ruby on Rails or an Rack b...
Develop a Ruby application Now that you have installed GlassFish v3 and JRuby and configured the JRuby container, runtime pool etc. Its time to develop a Ruby web application. To keep this blog simple, I would go for an extremely simple Rackup script config.ru.
Glassfish v3 application server is designed to be modular and extensible so that you can add/remove functionality as you require. In this blog i am going to talk about how easy it is to add a new admin cli command (asadmin utility) which can be used to perform administrative task for glassfi...
Note that the Scripting-Client and DTrace are value-add features and available with paid subscription. var object = new Object(); object[key] = startTime; Server: ' + serverName +'\n'+ n\n'); startTime = object[key]; else object[key] = startTime; Server: ' + serverName +'\n'+
Today we are releasing GlassFish v3 (community) and Sun GlassFish Enterprise Server v3 (commercial), following the release of Java EE 6 a few days ago. Java EE is 10 years old - nearly to the day. GlassFish v3 - the project - is 4.5 years old (although the code base for GlassFish v3 is much olde...
Back in the browser, the JavaScript used to handle the Ajax response gets invoked and we replace the old content area with the new stuff. It would be great if we were done at this point, however, this strategy requires each link (and button click) to be converted into an Ajax request -- so we i...
3. Which framework does the Admin Console build on that saves us writing any JSF managed bean ? B. JATO C. Spring C. many HTML pages C. ADF A. Enterprise Server General Information A. Enterprise Server General A. Virtual Server
We understand how inconvenient it is to restart the server in v2. You can stop the server in the console, but then you have to use CLI in a terminal window to start the server and then get back to the browser to launch the GUI. Not to mention that this can't be done at all unless you have access to...
Today we released Java EE 6 and the Java EE 6 SDK. In addition, we've also released GlassFish Enterprise Server v3, the first Java EE 6 compatible application server. Naturally, one might ask, why is this important? You can see the Java EE 6 and GlassFish Enterprise Server v3 press releas...
Among many changes that went into v3 deployment, the most important piece is the new pluggable/extensible deployment framework. This pluggable deployment framework allows you to plug in new module/container types with the container SPIs (see Add-On Component Development Guide for...
4. Scripting-Client* This is a Value-add feature and available only to the paying customers. We expose all our probes to a scripting client that would allow GF user to enable/disable the probes and get the data they want. This is similar to DTrace philosophy but will work on any OS for GlassFi...
To give a flavor, the sample applications demonstrate Java EE 6 features like embedding ejb in a war, asynchronous servlet API, web fragments, annotate a web service with @Singleton, injecton of Web Service Client by the container, no-interface EJB session beans as RESTful resource c...
As you can see, we obtain the total 96GB capacity via four Disk on Module (DOM). Each DOM contains four 4GB SLC NAND component on the front side and four on the back side. It gives us a 32GB capacity of which 24GB is addressable. To even accelerate flash performance, 64MB of DDR-400 DRAM per DOM pr...
What's particularly helpful about Java ES is that all the software components are rigorously tested to ensure interoperability and reliability. So that way, you know which version of GlassFish Enterprise Server works with NetBeans and OpenSSO Enterprise and Directory Server Enterp...
It's been a while since we haven't mentioned Sang Shin's "Java Passion" classes. Sang is a tireless creator of material for training and hands-on labs (HOL) with detailed step-by-step instructions. The already very long list of hands-on labs now includes :
This simple JavaScript simply calls the Servlet using the JQuery $.ajax functionality and then place the result of the Servlet call into the div defined in the index.jsp page. It can be seen from the JavaScript code that I simply call the Servlet and pass the contents of the instanceId input f...
The Driver Framework The real power of Faban is unleashed only when you use the framework. The framework provides capabilities similar to other load testing tools, namely : emulate users, keep track of response times and other metrics, run monitoring tools etc. Some unique features of Fa...
Is My Web Application Vulnerable? You may be tempted to wonder that even if the SSL/TLS connection to your Web Server is vulnerable to the renegotiation attack, maybe your web application cannot be exploited? What this means in practice will vary widely, depending on what your web appli...
Grizzly Comet is a very powerful feature in GlassFish v2 and GlassFish v3. It provides a framework for writing many interesting applications. However, the same application will not run in other servlet containers (without Grizzly). One can resolve this by porting the code to use asynchro...
To insert the SVG into an existing Web Page we will need some simple JavaScript to define a JQuery Ajax call to the AjaxGetBpelProcessSvgServlet and and a simple <div> in the web page. with the id = "processSVGDiv". The following JavaScript function will execute the Servlet Asynchr...
Web Server 7 and the SSL/TLS Vulnerability (CVE-2009-3555) The recent SSL/TLS protocol vulnerability has been thoroughly covered in the press. Refer to the above link for the formal vulnerability report and refer to any one of many articles on the web for commentary on it. While the vulne...
I know some of you read the title and thought “Oh cool! I'm dying for a new user interface (UI). When will it finally be ready?” At the same time, some of you thought “Nooooooo! I like the UI already, even if there are a few little things here and there that annoy me. I wish they would stop this talk o...
Read the original at The Crooked Stick Following a number of discussions with colleagues I have tweaked the BPEL Monitoring Web Page so that it is now an Ajax based solution and hence the page now only exists to layout the data. The functionality originally contained within the BpelSvgRet...
If you are an experienced Java EE web developer who wants to learn how to create Java EE web applications with JavaServer Faces components, using third-party components, IDEs, and libraries that facilitate development with Ajax, JBoss Seam, and Facelets, this is the course for you. Att...
GlassFish v3 has a REST/HTTP interface that is implemented using Jersey. The interface is used by the GUI admin console but can also be used by other clients; for example, the data can be exported as JSON, XML or HTML and the REST + JSON combination makes JavaScript clients very easy to write.
Vaadin is a web application framework that lets you write Java code to create your web pages. No JSP, no HTML (unless you want to), no XML, etc., and only one jar file needed for the framework. Somewhere in my reading or while talking to one of the Vaddin people, I came across the one exception to t...
The first cut of a Java EE implementation of Olio is now checked into the repository. The file docs/java_setup.html gives instructions on how to build and setup this implementation. The implementation uses JSP, servlets, JPA for persistence, yahoo and Jmaki widgets for AJAX etc. The web ap...
The presenter at tomorrow's webinar is Ted Goddard; he will detail how to write rich interface applications using Ajax and Comet using JSF and ICEfaces and will also describe how these relate to the new JSF 2.0 specification in JavaEE 6.
From Web and more to your browser, check out this insightful document about getting started with Project jMaki. Project jMaki is a lightweight framework for creating web applications using built-in templates as well as a model for creating and using Ajax-enabled customizable widget...
Joseph Sniderman begins by declaring, "NetBeans. I'm hooked. I admit it." Following the recommendations of a recently purchased book on Java development, Joseph installed NetBeans and fell in love. He is using the IDE to develop a web application that could be used by a diner or small restau...
Before I get to those, a brief aside about our architecture: as will come to no surprise to anyone who has used our applaince and is familiar with browser-based technologies, our interface is AJAX-based. In developing an AJAX-based application, one needs to select a protocol for client-...
Arun and Jim presented at AjaxWorld on how to Use Comet in a Two-Player Game built using the Grizzly Comet facilities. Check out the Presentation Description, the slides in PDF and the actual code. Arun even has a Rails/Grails Version.
In the lat two articles, I introduce how to use SSH frameworks in Netbeans, and this article will introduce how to use EXT JS with them. The basic way to implement is using AJAX Request of EXT JS to connect with Struts Actions. EXT JS is a javascript library, and it provide powerful rich client...
To a Java programmer its going to be an easy new language to pick up because it shares much of its syntax with the Java language. To a designer, its going to be an easy new language to pick up because its clean, straightforward and does on the screen what it says in the code. And it has no baggage to c...
Using the following form, you can add products that will be inserted in a JavaDB database, and displayed using the jMaki Ajax framework in the table below. Product Name : Product Category : Product Price : List of Products:
Building on Dave Johnson's Roller/JSON post, Alexis wrote a simple application consuming Roller-generated data using the jMaki framework and NetBeans 5.5. jMaki, as any framework in the Ajax space, consumes JSON data and provides a wrapper technology around existing Ajax components.