Computers & Internet Logo

Related Topics:

Posted on Sep 17, 2008

Ejb why we r using javax in advancedjava programs

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

  • Contributor 1 Answer
  • Posted on Sep 18, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Joined: Sep 18, 2008
Answers
1
Questions
0
Helped
78
Points
1

Because the standard java packageswere not designed to support EJB javax is an extended use of java technology.The standard packages were defined in javax insetad of java.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How do I get past the password or fingerprint of a hp pavilion dv7

you cant,or,, read on.
in fact that is the whole purpose OF IT.
if the BIOS and windows, are both active. for this
then its impossible,.(by DESIGN !)
if only windows. security>?
erase it and fresh install works
the BIOS level is hardware chip, that you cant change.

just reloaded w10 on my HP due to windows10 update
killed dead my HP security, finger print driver,
reloaded w10 (repair mode) GOOD.
HAD TO UN INSTALL HP SECURITY PACKAGE.
HP does not support w10 on mine but does work so long as hp Security is keep from from system (sent to trash can)

if your DV7 HP page shows w10 support
then it will work
be sure to program 4 fingers, never just one.
or you will get in big trouble.
used it for 1 year, and was no good on my HP8540w.
w10 64b

there are 30 DV7
which one? find your and READ, RTM
READ WHAT IS SUPPORTED AND NOT.

http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/selector/?javax.portlet.tpst=867000c4cf25636cc859bfdeb053ce01&javax.portlet.prp_867000c4cf25636cc859bfdeb053ce01=wsrp-navigationalState%3D_oid%253D3744230%257C_op%253Dnavigate&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken
0helpful
1answer

Dload mode/tc4200

www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_bd9b6997fbc7fc515f4cf4626f5c8d01=wsrp-navigationalState%3DswEnvOID%253D2096%257CswLang%253D%257Caction%253DlistDriver&javax.portlet.tpst=bd9b6997fbc7fc515f4cf4626f5c8d01&sp4ts.oid=457949&ac.admitted=1400647297244.876444892.199480143
0helpful
1answer

Looking for drivers for hp motherboard 09F0h (HP Compac dc7600)

.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdHome/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_bd9b6997fbc7fc515f4cf4626f5c8d01=wsrp-navigationalState%3DswEnvOID%253D1093%257CswLang%253D%257Caction%253DlistDriver&javax.portlet.tpst=bd9b6997fbc7fc515f4cf4626f5c8d01&sp4ts.oid=1111073&ac.admitted=1399618795170.876444892.199480143
1helpful
1answer

Whats ejb

it is used to create re usable components using n-tier
0helpful
1answer

Table creation via textfields using swings

import java.lang.Object;
import javax.swing.table.DefaultTableModel;


public class tabletest extends javax.swing.JFrame {
String[][] row = null;
String[] title=new String[3];
private int i;


/** Creates new form tabletest */
public tabletest() {
initComponents();
setTitle("table test");
setVisible(true);
System.out.print("NO Database Needed");
title[0]="Name";
title[1]="Desig";
title[2]="id";
}


/*
" In middle of this two source one generated code will be there that will be done by dragging ur fields to ur frame. THIS IS FOR netbeans IDE "
*/

private void b1ActionPerformed(java.awt.event.ActionEvent evt) {
row=new String[4][3];
// TODO add your handling code here:

String s1=t1.getText();
System.out.println(" event 1");
String s2=t2.getText();
System.out.println(" event 2");
int k=Integer.parseInt(t3.getText());
String s3=""+k;
System.out.println(" event 3");
try{
// for(int i=0;i<=2;i++)
row[i][0]=s1;
row[i][1]=s2;
row[i][2]=s3;
i++;

}catch(Exception e){
e.printStackTrace();

}
table.setModel(new DefaultTableModel(row,title));
}

private void b2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:

t1.setText("");
t2.setText("");
t3.setText("");

}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new tabletest().setVisible(true);
}
});
}

// Variables declaration - do not modify
private javax.swing.JButton b1;
private javax.swing.JButton b2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JPanel jPanel1;
private javax.swing.JLabel l1;
private javax.swing.JLabel l2;
private javax.swing.JLabel l3;
private javax.swing.JPanel p2;
private javax.swing.JScrollPane scp1;
private javax.swing.JTextField t1;
private javax.swing.JTextField t2;
private javax.swing.JTextField t3;
private javax.swing.JTable table;
// End of variables declaration

}
0helpful
1answer

About java swing..

Hi, if you have a specific query about java Swing, I can try to help you. Please find a small java code with using swing as example.

import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ButtonGroup;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.JToolBar;
public class ToolbarDemo extends JFrame {
public static final String FontNames[] = { "Serif", "SansSerif", "Courier" };
protected Font fonts[];
protected JMenuItem[] fontMenus;
protected JToolBar toolBar;
public ToolbarDemo() {
super("Toolbars & actions");
setSize(450, 350);
JMenuBar menuBar = createMenuBar();
setJMenuBar(menuBar);
setVisible(true);
}
protected JMenuBar createMenuBar() {
final JMenuBar menuBar = new JMenuBar();
JMenu mFile = new JMenu("File");
ImageIcon iconNew = new ImageIcon("file_new.gif");
Action actionNew = new AbstractAction("New", iconNew) {
public void actionPerformed(ActionEvent e) {
System.out.println("new action");
}
};
JMenuItem item = mFile.add(actionNew);
mFile.add(item);
menuBar.add(mFile);
toolBar = new JToolBar();
JButton saveButton = new JButton("Save");
toolBar.add(saveButton);

getContentPane().add(toolBar, BorderLayout.NORTH);
return menuBar;
}
public static void main(String argv[]) {
new ToolbarDemo();
}
}
Thanks and Regards,
Supa.
Not finding what you are looking for?

88 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

ADMIN Andrew
ADMIN Andrew

Level 3 Expert

73785 Answers

ADMIN Eric
ADMIN Eric

Level 3 Expert

42225 Answers

Brad Brown

Level 3 Expert

19190 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...