prabhu gupte

Greenhorn
+ Follow
since Nov 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prabhu gupte

Isn't it that the FormBeans that are part of Struts Framework behave like value objects since, apart from being a grab bag of all the related fields inside the FormBean they also have certain validations to make sure the fields that are part of the FormBean are valid as per business rules. Also value object pattern recommends its use only when two layers need lot of data to be exchanged between them and theres a need to keep this transfer manageable. Related pieces of data can be clubbed in to a single VO and method calls can then use these VO as arguments.
Am i right?
Hi All,
How do Entity beans differ from value objects. Excluding the differences that entity beans run inside a EJB Container and the various services that the container provides to them.
As far as i know the value objects are just plain and simple java objects containing set and get methods for each of their attributes and do not contain any SQL inside any of the methods which a Entity bean(BMP) may have.
The similarity is that both have getter and setter methods.
I need to clarify myself whether value objects can be a replacement for Entity beans. If that is not the case then, can both work in collaboration and if yes then how.
What scenarios can really force one to adopt the value objects as part of the solution.
Hi everybody,
I want to know whether the Servlet's destroy() method is called when there is a power failure.The scenario is that a servlet instance is loaded and is processing client requests and suddenly the power failure occurs(On the server side). Now, does the Servlet container or the APPlication server call the destroy() method of the servlet and unload its instance.
Also, What happens when the Server restarts.
19 years ago
Hi,
I have a problem when i start Eclipse on my PC running Windows XP. The Splash screen appears and then a dialog box pops up saying
----------------------------------------------------
JVM terminated Exit code=1
C:\WINDOWS\system32\javaw.exe
-cp C:\eclipse\startup.jar org.eclipse.core.launcher.main
-os win32
-ws win32
-arch x86
-showsplash C:\eclipse\eclipse.exe -showsplash 600
--------------------------------------------------------

The log file generated in the C:\eclipse folder says this:

---------------------------------------------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77D7E48D
Function=GetClipboardFormatNameA+0xE148
Library=C:\WINDOWS\system32\USER32.dll

Current Java thread:
at org.eclipse.swt.internal.win32.OS.DrawTextW(Native Method)
at org.eclipse.swt.internal.win32.OS.DrawText(OS.java:1307)
at org.eclipse.swt.graphics.GC.drawText(GC.java:1242)
at org.eclipse.swt.graphics.GC.drawText(GC.java:1194)
at org.eclipse.swt.custom.CLabel.onPaint(CLabel.java:380)
at org.eclipse.swt.custom.CLabel.access$0(CLabel.java:287)
at org.eclipse.swt.custom.CLabel$1.paintControl(CLabel.java:102)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:80)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:850)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:834)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:726)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2738)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:2177)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1286)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1408)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:561)
at org.eclipse.jface.window.Window.open(Window.java:541)
at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:255)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:318)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:281)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:926)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:852)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:875)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:675)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1422)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
---------------------------------------------------------------------------

Sometimes i also get a message saying Unable to load project Please use an alternative JVM.

How can i rectify this problem.
I have JRE 1.4.2_02 installed on my PC.
My eclipse version is 2.1 .
The problem exists even after installing Eclipse again.