Front end Java classes?
Aloha all-
I'm familar with using LiveCycle Data Services with Flex and love its use of front-end ActionScript classes that map back to the server. I was wondering if such functionality was possible with Java classes? My guess is no, but wanted to make sure as I've been going through the docs and haven't found anything explicit.
Basically, I'm thinking about using LiveCycle DS in an all Java project (Swing front end) and if it communication could be handled by DS, which I'm familiar with, instead of creating my own JMS topics, that'd be great. Plus it provides a way to move the app from Java/Swing to Flex/Air.
Ron
Hi Ron,
We don't currently provide a client-side Java API for LC DS.
If you plan on switching from Swing to Flex/Air in the future, the major thing to watch out for is that the classes you ship over the wire from the server to the client adhere to the Java bean serialization rules that Flash AMF serialization requires (no-arg constructor, public get/set methods for properties, etc.). But you should be able to expose the same server code to a Flex/Air client with minimal to no impact.
Porting your front-end app from Swing to Flex/Air wouldn't offer any opportunities for client-side code reuse.
Best,
Seth
Similar Messages
-
Is it in any way possible to do the above?
Would it be possible to communicate between flash and java in a standalone application?
Instead of building the interface with swing I would be using flash.Possible yes, though java support only extends (with JMF: java media framework) to Flash 2.0, which just about eliminates all of your fancy ActionScript stuff.
You can have a pure animation effect done in Flash with just a gif, which can look very sexy and very cheap in terms of file size. This can be stuck on with ImageIcon blah ... --> ...new JLabel(blah), which is nice and easy or you can also use Graphics.drawImage(...) too. Alternately with JMF you can have some Flash based buttons and the like, though limited as I've said - I have done this with the help of the local library I tracked down a half decent Falsh 2.0 book and the local university a Flash 2.0 CD - Some effort! Worth it? It was very nice in the end ...but, really worth it? - no.
My advice: stick to pure java and simple animated gifs for thing such as splash screens. -
"No administrator found for the task" in the front end
Hi all,
My issue is, whenever approval request is raised from the front end ( JAVA WEB-DYNPRO), it triggers the workflow through the "<b>sap_wapi_start_workflow</b>" and when the workflow proceeds to the first level of approval, the front end application provides the approver with <b>Approve</b> and <b>Reject</b> options.
On click of approve, from the java webdynpro, the approve status is written in the container using "<b>sap_wapi_write_container</b>" and then a call is made to "<b>sap_wapi_workitem_complete</b>". Upon excution, the message line is "<b>No administrator found for the task</b>" and the return code is "<b>1</b>".
But if we do the same steps from the backend (R/3), the workitem is getting completed without any such error.
Please advice.
Thanks.Hi Balaji,
I think I have an answer for you. This has happened with us when approving a WD java task using UWL (in our case for travel). The key is the return code of 1.
What has happened is this. The return code actually comes from the function SWW_WI_STATUS_CHANGE_NEW which is called deep in the WAPI wrapper. It means "infeasible_state_transition = 1".
This is due to the fact that after updating the container, your wapi call from web dynpro tries to change the workitem from status of "Ready" to status "Completed". This will not work.
What you will have to do is call "SWW_WI_STATUS_CHANGE_NEW" to set the status to 'SELECTED' beofre setting the item to complete.
The reason for this is that when you are executing from R3, the status change is done for you. When calling from the WD, no reservation of the workitem occurs.
Sorry about last night, I live well outside of town and the phone reception at my place is poor.
Regards
Gareth -
Java Front End, PHP Back End
Hi all, I am trying to create a java front end with a php back end. Using a tip from Core Java Technologies Tech Tips (http://java.sun.com/developer/JDCTechTips/2004/tt0210.html#2). I tried to convert their code from a command line to a GUI and have gotten preaty far but it is only allowing me to get one row of data from the php file. Here is my code so far:
package test;
import java.net.URL;
import java.net.MalformedURLException;
import java.net.URLConnection;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
* @author bdeonline
public class test extends javax.swing.JFrame {
private static URLConnection connection;
private String inputLine;
private static void connect( String urlString ) {
try {
URL url = new URL(urlString);
connection = url.openConnection();
} catch (MalformedURLException e){
} catch (IOException e) {
private String readContents() {
BufferedReader in = null;
try {
in = new BufferedReader(
new InputStreamReader(
connection.getInputStream()));
String inputLine;
while (
(inputLine = in.readLine()) != null) {
return(inputLine);
} catch (IOException e) {
return inputLine;
/** Creates new form test */
public test() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {
jButton1 = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
jButton1.setText("jButton1");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
getContentPane().add(jButton1, java.awt.BorderLayout.SOUTH);
jScrollPane1.setViewportView(jTextArea1);
getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);
pack();
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
connect("http://localhost/test.php");
jTextArea1.setText(readContents());
/** Exit the Application */
private void exitForm(java.awt.event.WindowEvent evt) {
System.exit(0);
* @param args the command line arguments
public static void main(String args[]) {
new test().show();
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
// End of variables declaration
I am preaty new at java, I know PHP preaty well though so something like this could help me out alot. Most of this code was generated with the help of Netbeans.I dont see why it would unles it has something to do with your URLConnection being static. setText() is only going to give you one line as well. try
jTextArea.append(inputLine);
and make only one declairation of inputLine.
The only thing that should be static in your code is the main method. -
Calling Java APIs from Adobe AIR Front End
HI ,
I have developed an desktop application entirely in java.
Currently it is console based, but i am planning to have a UI for the same in Adobe Flex.
I wanted to know how do I communicate between the two, ie call methods that are defined in my java classes from AIR and return results to Adobe AIR.
There is no server involved.
I want to keep Adobe AIR as front end and Java as back end which will take care of the business logic .
Thanks and Regards,
SantoshiThe best way is probably to use the NativeProcess APIs available in AIR 2 (now in Beta).
Next, would be to use sockets to communicate between the two processes. In AIR 1.5, it is difficult to guarantee that both processes are running, at least when controlling thins from the AIR side rather than the Java side. In AIR 2, you can start other processes, so this is also easier.
There are some 3rd party tools, like Merapi, that help you pass objects between Java and AIR, too. -
How to use Java as a Front-end app
how java application can be used as the Front-end interfaces to Forte based
applications???
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Rajiv,
If you have Forte's WebEnterprise product, and Forte version 3.0.G.x or
later, you have the ability to export an IIOP interface for any Forte
service object. In fact, you can go one step further and generate a Java
interface that "hides" the IIOP issues from the developer. The way you do
this is to do the following:
1) From the partitioning workshop, double click on the service object you
wish to expose as an IIOP interface. This will bring up the Service Object
Properties dialog.
2) Off the Export tab, set the External Type drop down to IIOP. If IIOP is
not an available option in the drop down list then you do not have
WebEnterprise install.
3) From here you need to set up the necessary IIOP configuration parameters
(see the documentation for details on the specifics of what the parameters
control).
4) If you want to have Forte generate a JavaBean interface and the necessary
Java classes to be called by your application then make sure you select the
Java parameter at the bottom of the Configuration dialog. If IDL is
selected then Forte will generate a generic IDL interface.
5) When you make your distribution Forte will generate the Java classes for
you.
This mechanism works very well for accessing a Forte service object from a
Java application.
Good Luck!
Jeff Wille
-----Original Message-----
From: Rajiv Srivastava <[email protected]>
To: [email protected] <[email protected]>
Date: Wednesday, December 09, 1998 2:03 PM
Subject: how to use Java as a Front-end app
how java application can be used as the Front-end interfaces to Forte based
applications???
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Front End for BW 3.5 and Java based application
We are trying to connect two systems; SAP based (through BW) and Non-SAP based (Sybase, Java based) applications. We are exploring BI Java SDK with UDDI or XI services to bring Non-SAP data to NetWeaver. We don't want to store all data from sybase to BW. We could use Front end of BW or any other GUI from SAP Portal. I have heard options like UI, GUI machine, net weaver developer studio, visual composer. Ideally, we would like to combine non-sap and sap data in Business explorer/BW web browser but any other front end suggestion within Net weaver frame work will help us keep our cost down. Please advise.
Thanks.
Vinay KarnaWe're in the middle of upgrading from 3.1 SP 22 BW w/6.20 SAPGUI. We've only upgraded a sandbox BW server at this point, but we have upgraded all BW team members with SAPGUI 6.40 FEP 5 and can successfully connect to our 3.5 and 3.1 BWs.
-
DOES NEW BI FRONT END NEED JAVA COMPONENT
We just Did our technical upgrade and we are having issues logging into front end .We are in the process of upgrading our JAVA components . Do we need to have the JAVA server in place .
Also we have serious errors while accessing the History folder . I know we have had this issues in the previous versions too ...
SureshYes.
-
Front End (GUI) for Java Web Based Appl.
Hi Gurus,
I am new to Java. Can anybody tell me, what is the front end(GUI) used in Java web based applications? I was told that Swings/Applets are rarely used. Is there are a 3rd party took to design GUI for Java based applications?
Chooti Babasunilmp wrote:
U mean to say, for JSP/Servlets, "Web based application" as well as "JSP/Servlet" usually implies that the client is a simple web browser.
we cannot have swing as front end?You can use Swing inside an Applet inside a web application, but usually that's not needed, as you already have a client application that's quite powerful (the browser). -
Java Front-end problems with Windows 200 Pro
Hi,
I have some problem on my pc with java applications front-end. I have windows 2000 Professional and use java(TM) 2 SDK, Standard Edition Version 1.3.1
Using every java applications (also development environment as JBuilder 4 Professional and Together 4) I have always problems with front-end: the text is bad visualized everytime I use the scroolbar, menu items into a menu are bad visualized while I drag over of them the mouse and so on...
To try to solve this my problem I have just installed Service Pack 2 for Windows 2000 Pro but I have not had good results - I keep to have the usual problem.
I'm aware that it is difficult to reproduce and however if anyone has some idea to solve my problem I am opened to every suggestion.
Thanks in advancethe text says that what technolody that they are using its called "Off Screen Images" once i used them in my applications to improve the prefomance.
What they says is to improve the time it takes to display componants that display text on them (Such as buttons, Labels...) they going to create an Off Screen Image of the text and then paste that image on to the screen whenever the componant has to be displayed/Re displayed instead of redrowing (Re rendering) the text on the screen repeatedly which take more time and processing power than rendering once and paste it to screen whenever needed but this solution will take some more memory. -
Using Air 2 as a java front end in a project idea
I watched this video on adobe tv where this guy called java process through air 2's new process invoking methods, and what I wanted to do was something simular. I have a java project that interacts with JBDC to talk to the oracle database, and currently can add, create, remove and bla to tabel entries.
what I want to know is the HOW DO I, make air talk to java...How do i make air the front end, and java the back end with out using servers and third party applications.I think you may have to look at all your jar files in the project including struts jar packages, and watij home page, and verifying they all are java5 compatable. My guess is your error is caused by watij using java reflection to do something (assuming there is nothing in the project or struts using reflection) . You may try creating a small struts project that is java5 compatable and seeing if you can use the watij tool on it without an error. That way, you will isolate problems with watij and struts problem with java5, from who knows how many other problems the major project has with java5. Are you using a server such as tomcat? that has to be compatable with java5 too.
-
How to do Front End Validation for JSP Forms using Java Script with 9iJD...
How to do Front End validation using 9iJD. Any wizard is there. We need to do the val. using Java Script. If its not available, please include that in the Production Release.
Thanks a lot. When is the Production Release is scheduled. Please tell us whether itll be available for Free Download. Bec, we couldnt buy. Bec, if its working fine with all the options without any bug only, we can ask our company to buy 9iJD by stating the advantages. Just explain us.
-
Implementing Note 616762 - Front End Printer in Web Dynpro For Java Applica
Hi All,
We need to implement Note 616762 in out web dynpro for java application for front end printing...
I am confused as to what is mapped where and what about the other inputs to the function modules mentioned in the note.
Please help me to achieve implementing this note.
Thansk and Regards,
Aditya DeshpandeI had a discussion with basis about printer configuration.
My problem starts from step 3... do not how the maping of values from webdynpro to function
also here the function mentioned are not remote enabled... do we need to make it remote enabled..????
Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Jan 9, 2009 3:36 PM -
Java class triggered by the front page on EP
Hello, I am maintaining our source code that was developed by a third party. There are a few Java classes and they are triggered when our EP front page - Home is loaded. Now I have developed a new class that needs to be trigger also. How can I find the place to configure? Thanks for help.
Hi Yantong,
You can create an Abstract Portal Component which can trigger your java class. You can then create an iview from that component and include that in the Home page. But make it invisible.
Regards
Prakash -
Can i use java only for database transaction with vb as a front end
Hello All.
I am sorry,i don't know whether this location is the correct location to post my question or not
I have developed one application using complete vb only. That is completly desktop appliation and not suitable for centralized database. Is there any facility to keep my front end as same (vb application) and for the database transaction can i use jdbc? Is there any possibility to do that like View is vb based application and the database connectivity is only jdbc
If my thought is wrongplease execuse me.
thanks in advance
sowjanyaSounds like a really bad choice even if it was possible.
Maybe you are looking for
-
D/A converter needed for Imac to TV?
I want to watch my FCE timeline or canvass on a TV while editing so I can see if I have the color corrected appropriately. I do not have a camera or a deck. I import my film from an external hard drive on which I have old home movies from the 50s and
-
Transfer a photo from Macbook running Mavericks to iOS8 iphone
I've upgraded my iPhone 5S to iOS8 without realising that iPhoto is no longer supported from my MacbookAir running Mavericks. Had I know I would have delayed the upgrade. Today I found out that I can't sync any of my iPhoto albums to my iPhone. This
-
Orginal file could not be found on a song i bought on itunes
i bought a ablum and a bouns track and it wont let me play the song because it says the orginal file could not be found
-
I want to authorize my computer
I want to authorize my computer so i can get my music back
-
Trouble re-downloading products purchased in 2009
My harddrive failed and I had to install a new one. So now I'm trying to re-downloaded the Adobe products I purchased online back in 2009. I found the files through my Order History but nothing happens when I click Download. What do I need to do to c