When should applets be used
i'm doing a student database project,which stores student details and allows the updations or deletions to be performed.It also performs additional operations for different categories of users like admin users,normal users,HOD,etc.
now i'm confused whether the login page should be an applet
neomi wrote:
i'm doing a student database project,which stores student details and allows the updations or deletions to be performed.It also performs additional operations for different categories of users like admin users,normal users,HOD,etc.
now i'm confused whether the login page should be an appletIf any part of this is already a traditional web app, then no - this should not be an applet.
Similar Messages
-
what is the necessity of the AC power cord (with the Mac book Air)? when should it be used?
Gary, you wouldn't believe some of the questions people ask on this site.
Why are both cords necessary?
They are not.
Other than the two reasons dominic23 sited are there any other reasons to use the AC power cord rather than the power adapter cord alone?
No. -
What is a Transient Variable and when should it be used
Hello everyone,
I just want to know the details regarding the transient variable and when should we use it. what is the significance of this variable?Transient variables are not written out when the class is serialized.
http://java.sun.com/docs/books/tutorial/essential/io/providing.html -
When should compressor be used?
I have never used compressor when outputting a movie. Usually I just Export> Quicktime Movie and put in DVDSP and burn. I shoot in standard DV & burn to 4.7 gb dvds. Movie looks a little pixelated on dvd playback. My question is, will compressor make my movie look better.
Have a look at this thread: http://discussions.apple.com/thread.jspa?threadID=1556257
If you have a lot of text/graphics in your sequence, you will most likely benefit from exporting directly from FCP Using Compressor (because of the DV compression). -
When should object casting be used?
Hi,
just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
Thanks.
// example of retrieving object from key
dbDirectory = (String)dbInfo.get("dbDirectory");LeWalrus wrote:
Hi,
just wondering something. Saw there that returning objects from methods and downcasting the returned object is bad. When should casting be used? I currently have a program that has an object that contains a HashMap as a field. When I try retrieve objects from the HashMap using the relevant key, I have to cast them to what they were originally! Is this bad programming practice or is it the only way to do things?
Thanks.
// example of retrieving object from key
dbDirectory = (String)dbInfo.get("dbDirectory");
Before generics, this was a perfectly acceptable practice. Generally speaking, you use type-casting when the compiler is unable to ensure the type validity at compile-time, but you know it is correct, so you supply the extra information to the compiler so it knows everything is correct. Sometimes you need to circumvent the strong type-checking part of the language for flexibility, but this is something that should be used very sparingly.
Now it would be better to use generics so that the compiler will know at compile time that the values in your map are Strings, instead of just Objects. -
When should I use static variable and when should not? Java essential
When should I use static variable and when should not? Java essential
Static => same value for all instances of the class.
Non-static => each instance can have its own value.
Which you need in which circumstances is completely up to you. -
Should I leave my macbook plugged in when I'm not using it?
Should I leave my macbook charging cable plugged in when I'm not using it?
It won't hurt anything (i.e., it won't overcharge). It isn't a good idea to leave it plugged in 100% of the time. One common recommendation is to use the battery at least one cycle per month without ever deeply discharging it. Ways to do that would be to use it on battery power until it is discharged to 50% twice during a month or to 80% 5 times during a month or some other combination that adds up to roughly 100% usage once per month at a minimum. Another way of stating that is that you should use the battery sometimes.
-
I've bought headphones for iphone 4g and want to use them in my ipod 4g. When i want to use pilot it don"t work. What should i do ?
If you have an Apple store nearby you can make an appointment at their Genius Bar.
Apple Retail Store - Genius Bar
You can also try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
iOS: How to back up your data and set up as a new device -
J1INCHLN when should I use error control mode checkbox
Hi Experts,
I am using t-code J1INCHLN for creating remittance Challan.
But in ECC6, EHP 5 there is new functionality added & no documentation available for same.
There is one field with tick option called Error Control Mode.so when should i use this functionality.
Can anyone help on this?
Thanks and Regards,
SameerHI
Please refer the note no : 1567443
Manual Control in J1INCHLN to change currency key/doc type
"After this, if you will run J1INCHLN, you will get a checkbox at the end
with 'Error Control Mode' which will be selected by default. If you want
to change document type, currency or rate during processing, you should
uncheck it else it will take you to the last screen."
I hope note is allready available in your system hence you are getting above cheeck box.
If you want to change the document type and currency or rate during posting then you need use the check box.
Regards
Madhu M -
hi
i don't know when i should use request scope, the example is use session scope always.
Can anyone help me?
thanks!SpiderFromMars wrote:
> What are the best practices for using the variables
scope versus using the
> request scope when assigning variables.
>
> In other words, when should I use <cfset variables.x
= 'barf'> and when
> should I use <cfset request.x = 'barf'>?
>
The variables scope is only accessible in the current
template. The
request scope is accessible in the current template and any
other
template, such as a custom tag or include file, that is used
to build
the current request.
I.E
<!---index.cfm--->
<cfset variable.x = "foo">
<cfset request.x = "bar">
<cfoutput>#variable.x##request.x#</cfoutput>
<cf_myCustomTag>
<!---myCustomTag.cfm--->
<cfset variable.x = "bob">
<cfoutput>#variable.x##request.x#</cfoutput> -
Why or When should we use Execute Immediate in PLSQL??
Hi Frnds,
Long Ago i have received a interview question that ...
How can U create a table in the PLSQL object(Function or procedure)?
But the thing y should we use execute immediate?
In which scenario we should we should use????????????
Why or When should we use Execute Immediate in PLSQL????OR
http://stackoverflow.com/questions/18375990/oracle-what-does-execute-immediate-means
For DML you'd use it when running statements that you don't have available at compile time, e.g. if the column list is based on a selection from the user.
In your case it's being used because DDL cannot be run as static SQL from within PL/SQL. Only certain query, DML and TCL commands are valid. Anything else has to be treated as dynamic.
I'd say it's rare to need to use DDL from a PL/SQL block. TRUNCATE might be reasonable; if you find anything creating or dropping objects on the fly then that might be more of a concern as it can suggest a suboptimal data model.
EXECUTE IMMEDIATE itself does not automatically commit; but if you execute DDL then that will behave the same as if you ran it outside PL/SQL, so it will commit in your case, yes.
Incidentally, I'm not sure why your code is using an intermediate variable to hold the statement; that's useful if you want to display what it's going to run maybe, but you don't seem to be doing that. What you have could be done as:
EXECUTE IMMEDIATE 'TRUNCATE TABLE BD_BIDS_EXT_DET';
Thank you -
When should a DSO be used?
When should a DSO be used?
Hi surya,
1.Mainly ODS is used to store detailed level of data.
2. Getting teh data overwrtten for key fiedls instead of appending.
3. Delta functionality because of the Change log table.
4.All Datasources in ECC will not support for Delta. In such scenarios will go for DSO before cube, as DSO has Overwrite functionality.
If datasource does not support Delta, we can do full update to DSO and from there we can do Delta Update to Cube. We can maintain change log of each record in DSO,as it has chanege log table.
Here is the detail of Type of DSO in BI,
DataStore object types:
Standard DataStore object
Data provided using a data transfer process
SID values can be generated
Data records with the same key are aggregated during activation
Data is available for reporting after activation
Write-optimized DataStore object
Data provided using a data transfer process
SID values cannot be generated
Records with the same key are not aggregated
Data is available for reporting immediately after it is loaded
DataStore object for direct update
Data provided using APIs
SIDs cannot be generated
Records with the same key are not aggregated
And you can find more information / examples on this topic at:
http://help.sap.com/saphelp_nw04s/helpdata/en/F9/45503C242B4A67E10000000A114084/content.htm -
I have a MAC and when I try to use Adobe Reader, I get a pop up telling me to lauch ADobe Reader and accept the end user license agreement, but when I do that, there is no agreement to acknowledge. What should I do?
I have the same problem as Pam101. I am on OS X 10.9 and Safari 7 (actually on 2 iMacs). The one iMac is fine but the other with the same versions and settings Adobe Reader will not work. What happens is the Adobe Reader icon appears on the dock, bounces once and that's it. When trying to open a .pdf file from a website a new tab is opened on Safari, the background is black and there is a pop up message (black test on a white background) that reads: "Adobe PDF Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement." This is all very well but if Adobe Reader will not launch how on earth is it possible to accept the End User License Agreement terms? Very, very annoying, especially since it all works just fine if I launch a .pdf file from a website using Chrome. What is going on here and who do I talk to in order to fix this problem - Apple or Adobe?
-
When should you use dmg vs copy or duplicate
When should you use dmg vs copy or duplicate
Your answers are very helpful. They encourage me to ask the more complete and complicated question: we have a web site that was developed using iWeb several years ago. iWeb support was dropped by Apple some years ago and we moved the site to GoDaddy, but still using the iWeb software. Now we have only 1 computer which can continue to edit, add to and support our web site. Our aim is to copy as much of our material as we can so that when this computer finally dies we can salvage as much of our material as we can to resurrect our site once more. GoDaddy says they cannot help us.
Here is my wife's web site:
www.adajillschneider.com
Thanks for all your time and help.
Ron Schneider -
When Should I use the Inner Classes ?
When Should I use the Inner Classes ?
What is the advantage(s) and the disadvantage(s) ?When I use innerclasses?
1) Allmost allways when I need simple owner child behavior.
2) When I need a behaviour, that is quite small, and used only once, I make it anonymous inner class. For example specialised streams and threads.
3) Enumerations
Maybe you are looking for
-
Drill Down Report Performance issue?
Hi, why drill down report is slower performance comparing with Action link/Navigation method? what could be the back end processing? Thanks MRD
-
I have updated to Keynote 6.1, my App Store says I did it 2/1/14, I just created a new slideshow in 6.1 tonight, saved it all the way through while creating it, and when finished, saved it one more time, and closed the file. I treid to open it again,
-
Inserting a barcode in a pdf file in Adobe Acrobat Pro
I have a PDF bookcover created for a printed book, but I'm having trouble inserted the barcode (a eps file , and pdf file ). How do I insert the barcode into the bookcover file in Adobe Acrobat? Please help!
-
How do I get access to employee discounts?
I have a question I just got my prepaid phone a Moto G. Today, and I have activated it and all yet when I go enter my phone number in the filed to validate it says I am an account member not owner. I am the owner of the account because I bought the s
-
Report S_ALV_87012140 layout
Hello, Is it possible to change the layout of S_ALV_87012140 report? I need to display just a line for each item. Thanks a lot for your help